Enum tg_botapi::api::UpdateType
source · pub enum UpdateType {
Show 14 variants
Message(Message),
EditedMessage(Message),
ChannelPost(Message),
EditedChannelPost(Message),
InlineQuery(InlineQuery),
ChosenInlineResult(ChosenInlineResult),
CallbackQuery(CallbackQuery),
ShippingQuery(ShippingQuery),
PreCheckoutQuery(PreCheckoutQuery),
Poll(Poll),
PollAnswer(PollAnswer),
MyChatMember(ChatMemberUpdated),
ChatMember(ChatMemberUpdated),
ChatJoinRequest(ChatJoinRequest),
}
Variants§
Message(Message)
EditedMessage(Message)
ChannelPost(Message)
EditedChannelPost(Message)
InlineQuery(InlineQuery)
ChosenInlineResult(ChosenInlineResult)
CallbackQuery(CallbackQuery)
ShippingQuery(ShippingQuery)
PreCheckoutQuery(PreCheckoutQuery)
Poll(Poll)
PollAnswer(PollAnswer)
MyChatMember(ChatMemberUpdated)
ChatMember(ChatMemberUpdated)
ChatJoinRequest(ChatJoinRequest)
Trait Implementations§
source§impl Clone for UpdateType
impl Clone for UpdateType
source§fn clone(&self) -> UpdateType
fn clone(&self) -> UpdateType
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 UpdateType
impl Debug for UpdateType
source§impl<'de> Deserialize<'de> for UpdateType
impl<'de> Deserialize<'de> for UpdateType
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