pub struct GetInlineQueryResults {
pub bot_user_id: i32,
pub chat_id: i64,
pub user_location: Location,
pub query: String,
pub offset: String,
}
Expand description
Sends an inline query to a bot and returns its results. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires
Fields§
§bot_user_id: i32
The identifier of the target bot
chat_id: i64
Identifier of the chat, where the query was sent
user_location: Location
Location of the user, only if needed
query: String
Text of the query
offset: String
Offset of the first entry to return
Trait Implementations§
Source§impl Clone for GetInlineQueryResults
impl Clone for GetInlineQueryResults
Source§fn clone(&self) -> GetInlineQueryResults
fn clone(&self) -> GetInlineQueryResults
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetInlineQueryResults
impl Debug for GetInlineQueryResults
Source§impl<'de> Deserialize<'de> for GetInlineQueryResults
impl<'de> Deserialize<'de> for GetInlineQueryResults
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetInlineQueryResults
impl Method for GetInlineQueryResults
Auto Trait Implementations§
impl Freeze for GetInlineQueryResults
impl RefUnwindSafe for GetInlineQueryResults
impl Send for GetInlineQueryResults
impl Sync for GetInlineQueryResults
impl Unpin for GetInlineQueryResults
impl UnwindSafe for GetInlineQueryResults
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more