Struct telegram_typings::InlineQuery
[−]
[src]
pub struct InlineQuery { pub id: String, pub from: Box<User>, pub location: Option<Box<Location>>, pub query: String, pub offset: String, }
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
Fields
id: String
Unique identifier for this query
from: Box<User>
Sender
location: Option<Box<Location>>
Sender location, only for bots that request user location
query: String
Text of the query (up to 512 characters)
offset: String
Offset of the results to be returned, can be controlled by the bot
Trait Implementations
impl Debug for InlineQuery
[src]
impl Clone for InlineQuery
[src]
fn clone(&self) -> InlineQuery
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more