1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Added support for the creation of custom emoji sticker sets in createNewStickerSet.

This commit is contained in:
coder2020official 2023-03-11 16:33:02 +04:00
parent 54caf30f69
commit f30457bd75
2 changed files with 2 additions and 4 deletions

View File

@ -4629,8 +4629,7 @@ class TeleBot:
use sticker_type instead. use sticker_type instead.
:type contains_masks: :obj:`bool` :type contains_masks: :obj:`bool`
:param sticker_type: Optional, Type of stickers in the set, pass regular or mask. Custom emoji sticker sets can't be created :param sticker_type: Type of stickers in the set, pass regular, mask, or custom_emoji. By default, a regular sticker set is created.
via the Bot API at the moment. By default, a regular sticker set is created.
:type sticker_type: :obj:`str` :type sticker_type: :obj:`str`
:param mask_position: A JSON-serialized object for position where the mask should be placed on faces :param mask_position: A JSON-serialized object for position where the mask should be placed on faces

View File

@ -5492,8 +5492,7 @@ class AsyncTeleBot:
use sticker_type instead. use sticker_type instead.
:type contains_masks: :obj:`bool` :type contains_masks: :obj:`bool`
:param sticker_type: Optional, Type of stickers in the set, pass regular or mask. Custom emoji sticker sets can't be created :param sticker_type: Type of stickers in the set, pass regular, mask, or custom_emoji. By default, a regular sticker set is created.
via the Bot API at the moment. By default, a regular sticker set is created.
:type sticker_type: :obj:`str` :type sticker_type: :obj:`str`
:param mask_position: A JSON-serialized object for position where the mask should be placed on faces :param mask_position: A JSON-serialized object for position where the mask should be placed on faces