mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Fallback to "typing" instead of throwing an error
This commit is contained in:
parent
88bc7b59a1
commit
28c3a07d84
@ -473,7 +473,8 @@ class Client:
|
|||||||
functions.messages.SetTyping(
|
functions.messages.SetTyping(
|
||||||
peer=self.resolve_peer(chat_id),
|
peer=self.resolve_peer(chat_id),
|
||||||
action=self.CHAT_ACTIONS.get(
|
action=self.CHAT_ACTIONS.get(
|
||||||
action.lower()
|
action.lower(),
|
||||||
|
types.SendMessageTypingAction
|
||||||
)(progress=progress)
|
)(progress=progress)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user