GetCallbackQueryAnswer
public struct GetCallbackQueryAnswer : Codable, Equatable, TDFunction
Sends a callback query to a bot and returns an answer. 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 = CallbackQueryAnswer -
Identifier of the chat with the message
Declaration
Swift
public let chatId: Int53 -
Identifier of the message from which the query originated
Declaration
Swift
public let messageId: Int53 -
Query payload
Declaration
Swift
public let payload: CallbackQueryPayload -
Sends a callback query to a bot and returns an answer. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires
Declaration
Swift
public init(chatId: Int53, messageId: Int53, payload: CallbackQueryPayload)Parameters
chatIdIdentifier of the chat with the message
messageIdIdentifier of the message from which the query originated
payloadQuery payload
View on GitHub
Install in Dash
GetCallbackQueryAnswer Structure Reference