Struct telegram_bot_types::request::AnswerInlineQuery
[−]
[src]
pub struct AnswerInlineQuery<InlineQueryResultType: Serialize + Default> { pub inline_query_id: String, pub results: Vec<InlineQueryResultType>, pub cache_time: Option<i64>, pub is_personal: Option<bool>, pub next_offset: String, pub switch_pm_text: Option<String>, pub switch_pm_parameter: Option<String>, }
Fields
inline_query_id: String
results: Vec<InlineQueryResultType>
cache_time: Option<i64>
is_personal: Option<bool>
next_offset: String
switch_pm_text: Option<String>
switch_pm_parameter: Option<String>
Methods
impl<InlineQueryResultType: Serialize + Default> AnswerInlineQuery<InlineQueryResultType>
[src]
fn new(
inline_query_id: String,
results: Vec<InlineQueryResultType>,
next_offset: String
) -> AnswerInlineQuery<InlineQueryResultType>
inline_query_id: String,
results: Vec<InlineQueryResultType>,
next_offset: String
) -> AnswerInlineQuery<InlineQueryResultType>
Trait Implementations
impl<InlineQueryResultType: Clone + Serialize + Default> Clone for AnswerInlineQuery<InlineQueryResultType>
[src]
fn clone(&self) -> AnswerInlineQuery<InlineQueryResultType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<InlineQueryResultType: Debug + Serialize + Default> Debug for AnswerInlineQuery<InlineQueryResultType>
[src]
impl<InlineQueryResultType: Default + Serialize + Default> Default for AnswerInlineQuery<InlineQueryResultType>
[src]
fn default() -> AnswerInlineQuery<InlineQueryResultType>
Returns the "default value" for a type. Read more