GetInlineQueryResults
public struct GetInlineQueryResults : Codable, Equatable, TDFunction
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
-
Undocumented
Declaration
Swift
public typealias Result = InlineQueryResults -
The identifier of the target bot
Declaration
Swift
public let botUserId: Int32 -
Identifier of the chat where the query was sent
Declaration
Swift
public let chatId: Int53 -
Location of the user, only if needed
Declaration
Swift
public let userLocation: Location -
Text of the query
Declaration
Swift
public let query: String -
Offset of the first entry to return
Declaration
Swift
public let offset: String -
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
Declaration
Parameters
botUserIdThe identifier of the target bot
chatIdIdentifier of the chat where the query was sent
userLocationLocation of the user, only if needed
queryText of the query
offsetOffset of the first entry to return
View on GitHub
Install in Dash
GetInlineQueryResults Structure Reference