answer_audio (sendAudio) method missing thumb parameter
See original GitHub issueIn sendAudio method missing thumb parameter.
async def answer_audio(self,
audio: Union[InputFile, String],
caption: Optional[String] = None,
parse_mode: Optional[String] = None,
duration: Optional[Integer] = None,
performer: Optional[String] = None,
title: Optional[String] = None,
disable_notification: Optional[Boolean] = None,
reply_markup: Union[InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, ForceReply, None] = None,
reply: Boolean = False) -> Coroutine[Any, Any, Message]
In source: https://core.telegram.org/bots/api#sendaudio
| Parameter | Type | Required | Description |
|---|---|---|---|
| thumb | InputFile or String | Optional | Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail’s width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://<file_attach_name>” if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More info on Sending Files » |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
thumb parameter in answer_audio (sendAudio) method doesn ...
Hello, i tried to start send my audio file with thumbnail, but it is unlucky. I used: thumb ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks guys. My problem is resolved 😃
That’s ok for PRs, which target dev-2.x branch, as there is a lack of tests inside it already 😄
On Sun, Jun 21, 2020, 03:41 ixearth notifications@github.com wrote: