From a16c60c886142993621cfa0d7b0711422787cf4b Mon Sep 17 00:00:00 2001 From: TishSerg Date: Sun, 26 Apr 2020 12:00:00 +0300 Subject: [PATCH] Fix action 'song' should alias 'audio' (#1444) --- telethon/client/chats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/chats.py b/telethon/client/chats.py index bad8fc4b..dc28e7f8 100644 --- a/telethon/client/chats.py +++ b/telethon/client/chats.py @@ -30,13 +30,13 @@ class _ChatAction: 'audio': types.SendMessageUploadAudioAction(1), 'voice': types.SendMessageUploadAudioAction(1), # alias + 'song': types.SendMessageUploadAudioAction(1), # alias 'round': types.SendMessageUploadRoundAction(1), 'video': types.SendMessageUploadVideoAction(1), 'photo': types.SendMessageUploadPhotoAction(1), 'document': types.SendMessageUploadDocumentAction(1), 'file': types.SendMessageUploadDocumentAction(1), # alias - 'song': types.SendMessageUploadDocumentAction(1), # alias 'cancel': types.SendMessageCancelAction() }