pub enum ChatAction {
Typing,
UploadPhoto,
RecordVideo,
UploadVideo,
RecordVoice,
UploadVoice,
UploadDocument,
ChooseSticker,
FindLocation,
RecordVideoNote,
UploadVideoNote,
}Expand description
The chat action to display while the bot is preparing a response.
Variants§
Typing
Indicates the bot is composing a message.
UploadPhoto
Indicates the bot is uploading a photo.
RecordVideo
Indicates the bot is recording a video.
UploadVideo
Indicates the bot is uploading a video.
RecordVoice
Indicates the bot is recording a voice note.
UploadVoice
Indicates the bot is uploading a voice note.
UploadDocument
Indicates the bot is uploading a document.
ChooseSticker
Indicates the bot is choosing a sticker.
FindLocation
Indicates the bot is finding a location.
RecordVideoNote
Indicates the bot is recording a video note.
UploadVideoNote
Indicates the bot is uploading a video note.
Trait Implementations§
Source§impl Clone for ChatAction
impl Clone for ChatAction
Source§fn clone(&self) -> ChatAction
fn clone(&self) -> ChatAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Serialize for ChatAction
impl Serialize for ChatAction
impl Copy for ChatAction
Auto Trait Implementations§
impl Freeze for ChatAction
impl RefUnwindSafe for ChatAction
impl Send for ChatAction
impl Sync for ChatAction
impl Unpin for ChatAction
impl UnsafeUnpin for ChatAction
impl UnwindSafe for ChatAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more