pub trait AnswerInlineQuerySetters: HasPayload<Payload = AnswerInlineQuery> + Sized {
    // Provided methods
    fn inline_query_id<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn results<T>(self, value: T) -> Self
       where T: IntoIterator<Item = InlineQueryResult> { ... }
    fn cache_time(self, value: u32) -> Self { ... }
    fn is_personal(self, value: bool) -> Self { ... }
    fn next_offset<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn switch_pm_text<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn switch_pm_parameter<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of AnswerInlineQuery

Provided Methods§

source

fn inline_query_id<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for inline_query_id field.

source

fn results<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = InlineQueryResult>,

Setter for results field.

source

fn cache_time(self, value: u32) -> Self

Setter for cache_time field.

source

fn is_personal(self, value: bool) -> Self

Setter for is_personal field.

source

fn next_offset<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for next_offset field.

source

fn switch_pm_text<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for switch_pm_text field.

source

fn switch_pm_parameter<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for switch_pm_parameter field.

Implementors§