Enum telexide_fork::model::ChatAction
source · pub enum ChatAction {
Typing,
UploadPhoto,
RecordVideo,
UploadVideo,
RecordVoice,
UploadVoice,
UploadDocument,
FindLocation,
RecordVideoNote,
UploadVideoNote,
}Expand description
An action indicating to a user what they are about to receive
Variants§
Typing
for a text message
UploadPhoto
for a photo
RecordVideo
for a video
UploadVideo
for a video
RecordVoice
for an audio file
UploadVoice
for an audio file
UploadDocument
for a general file
FindLocation
for a location
RecordVideoNote
for a video note
UploadVideoNote
for 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 copy 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 Debug for ChatAction
impl Debug for ChatAction
source§impl<'de> Deserialize<'de> for ChatAction
impl<'de> Deserialize<'de> for ChatAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ChatAction> for ChatAction
impl PartialEq<ChatAction> for ChatAction
source§fn eq(&self, other: &ChatAction) -> bool
fn eq(&self, other: &ChatAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.