Add sticker choosing action to action method

This commit is contained in:
Devesh Pal 2021-09-01 11:28:26 +05:30 committed by GitHub
parent 4c10ee98ec
commit fc04d70115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.