CallbackQueryAnswer
public struct CallbackQueryAnswer : Codable, Equatable, FunctionResult
Contains a bot’s answer to a callback query
-
Text of the answer
Declaration
Swift
public let text: String -
True, if an alert should be shown to the user instead of a toast notification
Declaration
Swift
public let showAlert: Bool -
URL to be opened
Declaration
Swift
public let url: String -
Contains a bot’s answer to a callback query
Declaration
Swift
public init(text: String, showAlert: Bool, url: String)Parameters
textText of the answer
showAlertTrue, if an alert should be shown to the user instead of a toast notification
urlURL to be opened
View on GitHub
Install in Dash
CallbackQueryAnswer Structure Reference