InlineMenu<CTX extends Context> class

This object represents a Inline Keyboard with the action to be done.

Implemented types

Constructors

InlineMenu({String? name})
Constructs a InlineMenu

Properties

hashCode int
The hash code for this object.
no setterinherited
inlineKeyboard List<List<InlineKeyboardButton>>
List of rows of the keyboard
getter/setter pairoverride-getter
name String
Name of the menu
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callbackGame(String text, CallbackGame game) InlineMenu<CTX>
Add a Callback Game button to the last row
copyText(String text, {required String copyText}) InlineMenu<CTX>
Creates a button when tappd copies the arbitary text
login(String text, String url, {String? forwardText, String? botUsername, bool? requestWriteAccess}) InlineMenu<CTX>
Add a Login button to the last row
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay(String text) InlineMenu<CTX>
Add a Pay button to the last row
row() InlineMenu<Context>
Add a new row to the keyboard
switchInlineQuery(String text, String query) InlineMenu<CTX>
Add a Switch Inline Query button to the last row
switchInlineQueryChosenChat(String text, SwitchInlineQueryChosenChat switchInlineQueryChosenChat) InlineMenu<CTX>
Add a Switch Inline Query Chosen Chat button to the last row
switchInlineQueryCurrentChat(String text, String query) InlineMenu<CTX>
Add a Switch Inline Query Current Chat button to the last row
text(String text, Handler<CTX> handler, {required String data, ScopeOptions<CTX>? options}) InlineMenu<CTX>
Add new item to the last row
toJson() Map<String, dynamic>
Converts the object to a JSON object
override
toString() String
A string representation of this object.
inherited
url(String text, String url) InlineMenu<CTX>
Add a URL button to the last row
webApp(String text, String url) InlineMenu<CTX>
Add a Web App button to the last row

Operators

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