[][src]Struct telegram_bot_raw::requests::answer_inline_query::AnswerInlineQuery

pub struct AnswerInlineQuery { /* fields omitted */ }

Implementations

impl AnswerInlineQuery[src]

pub fn new(
    inline_query_id: InlineQueryId,
    results: Vec<InlineQueryResult>
) -> AnswerInlineQuery
[src]

pub fn add_inline_result<T: Into<InlineQueryResult>>(&mut self, result: T)[src]

pub fn cache_time(&mut self, cache_time: Integer) -> &mut Self[src]

pub fn is_personal(&mut self) -> &mut Self[src]

pub fn next_offset(&mut self, next_offset: String) -> &mut Self[src]

pub fn switch_pm_text(&mut self, switch_pm_text: String) -> &mut Self[src]

pub fn switch_pm_parameter(&mut self, switch_pm_parameter: String) -> &mut Self[src]

Trait Implementations

impl Debug for AnswerInlineQuery[src]

impl Request for AnswerInlineQuery[src]

impl Serialize for AnswerInlineQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.