Skip to content

Commit 5ff34fc

Browse files
xamgoretsnoam
authored andcommitted
Fix send_sticker() timeout=20 (python-telegram-bot#1088)
Documentation was correct. Code wasn't.
1 parent 78fee3c commit 5ff34fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def send_sticker(self,
545545
disable_notification=False,
546546
reply_to_message_id=None,
547547
reply_markup=None,
548-
timeout=None,
548+
timeout=20,
549549
**kwargs):
550550
"""Use this method to send .webp stickers.
551551

0 commit comments

Comments
 (0)