mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +00:00
Reformat method
This commit is contained in:
parent
1fe651f0b0
commit
f561ef59bf
@ -470,10 +470,7 @@ class Client:
|
|||||||
"upload_video_note": types.SendMessageUploadRoundAction,
|
"upload_video_note": types.SendMessageUploadRoundAction,
|
||||||
}
|
}
|
||||||
|
|
||||||
def send_chat_action(self,
|
def send_chat_action(self, chat_id: int or str, action: str, progress: int = 0):
|
||||||
chat_id: int or str,
|
|
||||||
action: str,
|
|
||||||
progress: int = 0):
|
|
||||||
return self.send(
|
return self.send(
|
||||||
functions.messages.SetTyping(
|
functions.messages.SetTyping(
|
||||||
peer=self.resolve_peer(chat_id),
|
peer=self.resolve_peer(chat_id),
|
||||||
|
Loading…
Reference in New Issue
Block a user