pub trait AnswerCallbackQuerySetters: HasPayload<Payload = AnswerCallbackQuery> + Sized {
    // Provided methods
    fn callback_query_id<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn text<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn show_alert(self, value: bool) -> Self { ... }
    fn url(self, value: Url) -> Self { ... }
    fn cache_time(self, value: u32) -> Self { ... }
}
Expand description

Setters for fields of AnswerCallbackQuery

Provided Methods§

source

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

Setter for callback_query_id field.

source

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

Setter for text field.

source

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

Setter for show_alert field.

source

fn url(self, value: Url) -> Self

Setter for url field.

source

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

Setter for cache_time field.

Implementors§