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 button(self, value: InlineQueryResultsButton) -> Self { ... }
}
Expand description

Setters for fields of AnswerInlineQuery

Provided Methods§

source

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

Setter for inline_query_id field.

source

fn results<T>(self, value: T) -> Self

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) -> Self
where T: Into<String>,

Setter for next_offset field.

source

fn button(self, value: InlineQueryResultsButton) -> Self

Setter for button field.

Object Safety§

This trait is not object safe.

Implementors§