Struct tbot::contexts::ChosenInline  
source · #[non_exhaustive]pub struct ChosenInline {
    pub bot: Bot,
    pub result_id: String,
    pub from: User,
    pub location: Option<Location>,
    pub inline_message_id: Option<InlineMessageId>,
    pub query: String,
}Expand description
The context for chosen_inline handlers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bot: BotA bot for calling API without information inference.
result_id: StringID of the chosen result.
from: UserThe user who chose the result.
location: Option<Location>The location of the user, if enabled and allowed.
inline_message_id: Option<InlineMessageId>The ID of the sent message.
query: StringThe query used to obtain the result.
Trait Implementations§
source§impl Clone for ChosenInline
 
impl Clone for ChosenInline
source§fn clone(&self) -> ChosenInline
 
fn clone(&self) -> ChosenInline
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 more