ProtectedaddBuilds the final object (uses this.matrix from the base class)
Adds a custom emoji to the LAST added button.
Unique emoji ID (available for Premium bots)
ProtectedgetStarts a new row
Sets the style for the LAST added button.
'danger' (red) | 'success' (green) | 'primary' (blue)
Adds a regular text button
Allows automatic serialization of the object to JSON
StaticforceOptionalselective: booleanOptionalplaceholder: stringStaticremoveOptionalselective: boolean
Abstract class containing common logic for all keyboard types. T is the button type (InlineKeyboardButton or KeyboardButton).