Enum telegram_bot::types::MessageType [−][src]
pub enum MessageType {
Text(String),
Audio(Audio),
Voice(Voice),
File(Document),
Photo(Vec<PhotoSize>),
Sticker(Sticker),
Video(Video),
Contact(Contact),
Location(Location),
NewChatParticipant(User),
LeftChatParticipant(User),
NewChatTitle(String),
NewChatPhoto(Vec<PhotoSize>),
DeleteChatPhoto,
GroupChatCreated,
SuperGroupChatCreated(GroupToSuperGroupMigration),
ChannelChatCreated,
}Variants
Text(String)Audio(Audio)Voice(Voice)File(Document)Photo(Vec<PhotoSize>)Sticker(Sticker)Video(Video)Contact(Contact)Location(Location)NewChatParticipant(User)LeftChatParticipant(User)NewChatTitle(String)NewChatPhoto(Vec<PhotoSize>)DeleteChatPhotoGroupChatCreatedSuperGroupChatCreated(GroupToSuperGroupMigration)ChannelChatCreated
Trait Implementations
impl Debug for MessageType[src]
impl Debug for MessageTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for MessageType[src]
impl PartialEq for MessageTypefn eq(&self, other: &MessageType) -> bool[src]
fn eq(&self, other: &MessageType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &MessageType) -> bool[src]
fn ne(&self, other: &MessageType) -> boolThis method tests for !=.
impl Clone for MessageType[src]
impl Clone for MessageTypefn clone(&self) -> MessageType[src]
fn clone(&self) -> MessageTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Decodable for MessageType[src]
impl Decodable for MessageTypeAuto Trait Implementations
impl Send for MessageType
impl Send for MessageTypeimpl Sync for MessageType
impl Sync for MessageType