mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Added support for .WEBP files in createNewStickerSet and addStickerToSet.
This commit is contained in:
parent
19dcce0d5b
commit
73135d6012
@ -4688,7 +4688,9 @@ class TeleBot:
|
||||
sticker: Optional[List[types.InputSticker]]=None) -> bool:
|
||||
"""
|
||||
Use this method to add a new sticker to a set created by the bot.
|
||||
It's required to pass `png_sticker` or `tgs_sticker`.
|
||||
The format of the added sticker must match the format of the other stickers in the set.
|
||||
Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers.
|
||||
Static sticker sets can have up to 120 stickers.
|
||||
Returns True on success.
|
||||
|
||||
Telegram documentation: https://core.telegram.org/bots/api#addstickertoset
|
||||
|
@ -5551,7 +5551,9 @@ class AsyncTeleBot:
|
||||
sticker: Optional[List[types.InputSticker]]=None) -> bool:
|
||||
"""
|
||||
Use this method to add a new sticker to a set created by the bot.
|
||||
It's required to pass `png_sticker` or `tgs_sticker`.
|
||||
The format of the added sticker must match the format of the other stickers in the set.
|
||||
Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers.
|
||||
Static sticker sets can have up to 120 stickers.
|
||||
Returns True on success.
|
||||
|
||||
Telegram documentation: https://core.telegram.org/bots/api#addstickertoset
|
||||
|
Loading…
Reference in New Issue
Block a user