KeyboardButton
public struct KeyboardButton : Codable, Equatable, FunctionResult
Represents a single button in a bot keyboard
-
Text of the button
Declaration
Swift
public let text: String -
Type of the button
Declaration
Swift
public let type: KeyboardButtonType -
Represents a single button in a bot keyboard
Declaration
Swift
public init(text: String, type: KeyboardButtonType)Parameters
textText of the button
typeType of the button
View on GitHub
Install in Dash
KeyboardButton Structure Reference