InlineKeyboardButton class
Constructors
- InlineKeyboardButton.callbackData(String text, String? callbackData)
- InlineKeyboardButton.callbackGame(String text, CallbackGame? callbackGame)
- InlineKeyboardButton.loginURL(String text, LoginUrl? loginUrl)
- InlineKeyboardButton.pay(String text, {bool? pay})
- InlineKeyboardButton.switchInlineQuery(String text, String? switchInlineQuery)
- InlineKeyboardButton.switchInlineQueryCurrentChat(String text, String? switchInlineQueryCurrentChat)
- InlineKeyboardButton.url(String text, String? url)
Properties
- callbackData ↔ String?
-
getter/setter pair
- callbackGame ↔ CallbackGame?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loginUrl ↔ LoginUrl?
-
getter/setter pair
- pay ↔ bool?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- switchInlineQuery ↔ String?
-
getter/setter pair
- switchInlineQueryCurrentChat ↔ String?
-
getter/setter pair
- text ↔ String
-
getter/setter pair
- url ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → InlineKeyboardButton -
listFromJsonArray(
List json) → List< InlineKeyboardButton> -
listOfListsFromJsonArray(
List json) → List< List< InlineKeyboardButton> >