Skip to content

Commit e7667d8

Browse files
committed
Add "speaking" chat action
1 parent 9891eb7 commit e7667d8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyrogram/methods/messages/send_chat_action.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class ChatAction:
3636
UPLOAD_VIDEO_NOTE = raw.types.SendMessageUploadRoundAction
3737
PLAYING = raw.types.SendMessageGamePlayAction
3838
CHOOSE_CONTACT = raw.types.SendMessageChooseContactAction
39+
SPEAKING = raw.types.SpeakingInGroupCallAction
3940
CANCEL = raw.types.SendMessageCancelAction
4041

4142

@@ -57,8 +58,8 @@ async def send_chat_action(self, chat_id: Union[int, str], action: str) -> bool:
5758
text messages, *"upload_photo"* for photos, *"record_video"* or *"upload_video"* for videos,
5859
*"record_audio"* or *"upload_audio"* for audio files, *"upload_document"* for general files,
5960
*"find_location"* for location data, *"record_video_note"* or *"upload_video_note"* for video notes,
60-
*"choose_contact"* for contacts, *"playing"* for games or *"cancel"* to cancel any chat action currently
61-
displayed.
61+
*"choose_contact"* for contacts, *"playing"* for games, *"speaking"* for speaking in group calls or
62+
*"cancel"* to cancel any chat action currently displayed.
6263
6364
Returns:
6465
``bool``: On success, True is returned.

0 commit comments

Comments
 (0)