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:
parent
54caf30f69
commit
f30457bd75
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user