mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix optional parameter
This commit is contained in:
parent
064b84ad3d
commit
af991ea76e
@ -924,7 +924,7 @@ class TeleBot:
|
|||||||
return apihelper.create_new_sticker_set(self.token, user_id, name, title, png_sticker, emojis, contains_masks,
|
return apihelper.create_new_sticker_set(self.token, user_id, name, title, png_sticker, emojis, contains_masks,
|
||||||
mask_position)
|
mask_position)
|
||||||
|
|
||||||
def add_sticker_to_set(self, user_id, name, png_sticker, emojis, mask_position):
|
def add_sticker_to_set(self, user_id, name, png_sticker, emojis, mask_position=None):
|
||||||
"""
|
"""
|
||||||
Use this method to add a new sticker to a set created by the bot. Returns True on success.
|
Use this method to add a new sticker to a set created by the bot. Returns True on success.
|
||||||
:param user_id:
|
:param user_id:
|
||||||
|
Loading…
Reference in New Issue
Block a user