InlineKeyboardButton
public struct InlineKeyboardButton : Codable, Equatable, FunctionResult
Represents a single button in an inline keyboard
-
Text of the button
Declaration
Swift
public let text: String
-
Type of the button
Declaration
Swift
public let type: InlineKeyboardButtonType
-
Represents a single button in an inline keyboard
Declaration
Swift
public init(text: String, type: InlineKeyboardButtonType)
Parameters
text
Text of the button
type
Type of the button