mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix action 'song' should alias 'audio' (#1444)
This commit is contained in:
parent
c487340f8e
commit
a16c60c886
|
@ -30,13 +30,13 @@ class _ChatAction:
|
||||||
|
|
||||||
'audio': types.SendMessageUploadAudioAction(1),
|
'audio': types.SendMessageUploadAudioAction(1),
|
||||||
'voice': types.SendMessageUploadAudioAction(1), # alias
|
'voice': types.SendMessageUploadAudioAction(1), # alias
|
||||||
|
'song': types.SendMessageUploadAudioAction(1), # alias
|
||||||
'round': types.SendMessageUploadRoundAction(1),
|
'round': types.SendMessageUploadRoundAction(1),
|
||||||
'video': types.SendMessageUploadVideoAction(1),
|
'video': types.SendMessageUploadVideoAction(1),
|
||||||
|
|
||||||
'photo': types.SendMessageUploadPhotoAction(1),
|
'photo': types.SendMessageUploadPhotoAction(1),
|
||||||
'document': types.SendMessageUploadDocumentAction(1),
|
'document': types.SendMessageUploadDocumentAction(1),
|
||||||
'file': types.SendMessageUploadDocumentAction(1), # alias
|
'file': types.SendMessageUploadDocumentAction(1), # alias
|
||||||
'song': types.SendMessageUploadDocumentAction(1), # alias
|
|
||||||
|
|
||||||
'cancel': types.SendMessageCancelAction()
|
'cancel': types.SendMessageCancelAction()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user