InlineKeyboardMarkup class

This object represents an inline keyboard that appears right next to the message it belongs to.

Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.

https://core.telegram.org/bots/api#inlinekeyboardmarkup

Implemented types
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

InlineKeyboardMarkup({required List<List<InlineKeyboardButton>> inlineKeyboard})
InlineKeyboardMarkup.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inlineKeyboard List<List<InlineKeyboardButton>>
getter/setter pair
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
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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