Struct telegram_typings::InlineQuery [] [src]

pub struct InlineQuery {
    pub id: String,
    pub from: Box<User>,
    pub location: Option<Box<Location>>,
    pub query: String,
    pub offset: String,
}

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

Fields

Unique identifier for this query

Sender

Sender location, only for bots that request user location

Text of the query (up to 512 characters)

Offset of the results to be returned, can be controlled by the bot

Trait Implementations

impl Debug for InlineQuery
[src]

[src]

Formats the value using the given formatter.

impl Clone for InlineQuery
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more