pub trait AnswerWebAppQuerySetters: HasPayload<Payload = AnswerWebAppQuery> + Sized {
// Provided methods
fn web_app_query_id<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn result(self, value: InlineQueryResult) -> Self { ... }
}
Expand description
Setters for fields of AnswerWebAppQuery
Provided Methods§
sourcefn web_app_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn web_app_query_id<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for web_app_query_id
field.
sourcefn result(self, value: InlineQueryResult) -> Self
fn result(self, value: InlineQueryResult) -> Self
Setter for result
field.