Struct actix_telegram::types::InlineQuery[][src]

pub struct InlineQuery {
    pub id: String,
    pub from: User,
    pub location: Option<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]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InlineQuery

impl Sync for InlineQuery