mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-29 17:29:56 +03:00
Add sticker choosing action to action method
This commit is contained in:
parent
4c10ee98ec
commit
fc04d70115
|
@ -22,6 +22,7 @@ class _ChatAction:
|
||||||
'contact': types.SendMessageChooseContactAction(),
|
'contact': types.SendMessageChooseContactAction(),
|
||||||
'game': types.SendMessageGamePlayAction(),
|
'game': types.SendMessageGamePlayAction(),
|
||||||
'location': types.SendMessageGeoLocationAction(),
|
'location': types.SendMessageGeoLocationAction(),
|
||||||
|
'sticker': types.SendMessageChooseStickerAction(),
|
||||||
|
|
||||||
'record-audio': types.SendMessageRecordAudioAction(),
|
'record-audio': types.SendMessageRecordAudioAction(),
|
||||||
'record-voice': types.SendMessageRecordAudioAction(), # alias
|
'record-voice': types.SendMessageRecordAudioAction(), # alias
|
||||||
|
@ -773,6 +774,7 @@ class ChatMethods:
|
||||||
* ``'contact'``: choosing a contact.
|
* ``'contact'``: choosing a contact.
|
||||||
* ``'game'``: playing a game.
|
* ``'game'``: playing a game.
|
||||||
* ``'location'``: choosing a geo location.
|
* ``'location'``: choosing a geo location.
|
||||||
|
* ``'sticker'``: choosing a sticker.
|
||||||
* ``'record-audio'``: recording a voice note.
|
* ``'record-audio'``: recording a voice note.
|
||||||
You may use ``'record-voice'`` as alias.
|
You may use ``'record-voice'`` as alias.
|
||||||
* ``'record-round'``: recording a round video.
|
* ``'record-round'``: recording a round video.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user