Struct telegram_bot_types::request::AnswerInlineQuery [] [src]

pub struct AnswerInlineQuery<InlineQueryResultType: Serialize + Default> {
    pub inline_query_id: String,
    pub results: Vec<InlineQueryResultType>,
    pub cache_time: Option<i64>,
    pub is_personal: Option<bool>,
    pub next_offset: String,
    pub switch_pm_text: Option<String>,
    pub switch_pm_parameter: Option<String>,
}

Fields

Methods

impl<InlineQueryResultType: Serialize + Default> AnswerInlineQuery<InlineQueryResultType>
[src]

Trait Implementations

impl<InlineQueryResultType: Clone + Serialize + Default> Clone for AnswerInlineQuery<InlineQueryResultType>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<InlineQueryResultType: Debug + Serialize + Default> Debug for AnswerInlineQuery<InlineQueryResultType>
[src]

Formats the value using the given formatter.

impl<InlineQueryResultType: Default + Serialize + Default> Default for AnswerInlineQuery<InlineQueryResultType>
[src]

Returns the "default value" for a type. Read more