Reformat method

This commit is contained in:
Dan 2017-12-06 21:51:23 +01:00
parent 1fe651f0b0
commit f561ef59bf

View File

@ -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),