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

Trait Implementations

impl Debug for MessageType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MessageType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for MessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Decodable for MessageType
[src]

Deserialize a value using a Decoder.

Auto Trait Implementations

impl Send for MessageType

impl Sync for MessageType