MenuButton.commands constructor
const
MenuButton.commands({
- @JsonKey(name: 'type') @Default(MenuButtonType.commands) MenuButtonType type,
Represents a menu button, which opens the bot's list of commands.
Implementation
const factory MenuButton.commands({
/// Type of the menu button
@JsonKey(name: 'type')
@Default(MenuButtonType.commands)
MenuButtonType type,
}) = MenuButtonCommands;