Enum telegram_bot::types::UpdateKind [] [src]

pub enum UpdateKind {
    Message(Message),
    EditedMessage(Message),
    ChannelPost(ChannelPost),
    EditedChannelPost(ChannelPost),
    CallbackQuery(CallbackQuery),
    // some variants omitted
}

Kind of the incoming update.

Variants

New incoming message of any kind — text, photo, sticker, etc.

New version of a message that is known to the bot and was edited

New incoming channel post of any kind — text, photo, sticker, etc.

New version of a channel post that is known to the bot and was edited

Trait Implementations

impl Clone for UpdateKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<UpdateKind> for UpdateKind
[src]

[src]

[src]

[src]

[src]

[src]

impl PartialEq<UpdateKind> for UpdateKind
[src]

[src]

[src]

impl Debug for UpdateKind
[src]

[src]

Formats the value using the given formatter.