Struct telegram_typings::ChosenInlineResult
[−]
[src]
pub struct ChosenInlineResult { pub result_id: String, pub from: Box<User>, pub location: Option<Box<Location>>, pub inline_message_id: Option<String>, pub query: String, }
Represents a result of an inline query that was chosen by the user and sent to their chat partner. See https://core.telegram.org/bots/api#inlinequeryresult
Fields
result_id: String
The unique identifier for the result that was chosen
from: Box<User>
The user that chose the result
location: Option<Box<Location>>
Sender location, only for bots that require user location
inline_message_id: Option<String>
Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message. See https://core.telegram.org/bots/api#inlinekeyboardmarkup See https://core.telegram.org/bots/api#callbackquery See https://core.telegram.org/bots/api#updating-messages
query: String
The query that was used to obtain the result
Trait Implementations
impl Debug for ChosenInlineResult
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ChosenInlineResult
[src]
fn clone(&self) -> ChosenInlineResult
[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