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
text
Text of the button
type
Type of the button