Skip to content

Commit

Permalink
Added support for the choose_sticker action in the method sendChatAct…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
Mustafa Asaad committed Mar 8, 2022
1 parent b5d374f commit 262f812
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tgbotapi/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,11 @@ def send_chat_action(self, chat_id, action):
"""
Use this method when you need to tell the user that something is happening on the bots side
:param int or str chat_id: Unique identifier for the target chat or username of the target channel
:param str action: Type of action to broadcast
:param str action: Type of action to broadcast. Choose one, depending on what the user is about to receive:
typing for text messages, upload_photo for photos, record_video or upload_video for videos,
record_voice or upload_voice for voice notes, upload_document for general files,
choose_sticker for stickers, find_location for location data, record_video_note or
upload_video_note for video notes
:return: True On success
:rtype: bool
"""
Expand Down

0 comments on commit 262f812

Please sign in to comment.