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

The unique identifier for the result that was chosen

The user that chose the result

Sender location, only for bots that require user location

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

The query that was used to obtain the result

Trait Implementations

impl Debug for ChosenInlineResult
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ChosenInlineResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations