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
Message(Message)
New incoming message of any kind — text, photo, sticker, etc.
EditedMessage(Message)
New version of a message that is known to the bot and was edited
ChannelPost(ChannelPost)
New incoming channel post of any kind — text, photo, sticker, etc.
EditedChannelPost(ChannelPost)
New version of a channel post that is known to the bot and was edited
CallbackQuery(CallbackQuery)
Trait Implementations
impl Clone for UpdateKind
[src]
fn clone(&self) -> UpdateKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more