TeleverseMenu<CTX extends Context> class abstract

Base class for all Televerse menus.

Menus provide a convenient way to create keyboards with associated handlers. They automatically bind keyboard buttons to their corresponding handler functions when attached to a bot.

Implementers

Constructors

TeleverseMenu({String? name})
Creates a new menu with the given name.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The unique name/identifier for this menu.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toReplyMarkup() ReplyMarkup
Converts this menu to a reply markup that can be sent with messages.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited