From af991ea76e526dc8e1848f35e26a96838c1e719e Mon Sep 17 00:00:00 2001 From: Fumycat Date: Sun, 20 Aug 2017 01:36:08 +0700 Subject: [PATCH] Fix optional parameter --- telebot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 671f103..40f410d 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -924,7 +924,7 @@ class TeleBot: return apihelper.create_new_sticker_set(self.token, user_id, name, title, png_sticker, emojis, contains_masks, 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. :param user_id: