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

Merge pull request #387 from fumycat/patch-1

Fix optional parameter
This commit is contained in:
FrankWang 2018-01-15 10:23:26 +08:00 committed by GitHub
commit e2ed4cf065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -996,7 +996,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: