Struct actix_telegram::types::InlineQuery [−][src]
pub struct InlineQuery { pub id: String, pub from: User, pub location: Option<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: User
Sender
location: Option<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 Debug for InlineQuery
Auto Trait Implementations
impl Send for InlineQuery
impl Send for InlineQuery
impl Sync for InlineQuery
impl Sync for InlineQuery