ReplyMarkupShowKeyboard class

Contains a custom keyboard layout to quickly reply to bots

Inheritance

Constructors

ReplyMarkupShowKeyboard({String? extra, int? client_id, vector<vector<KeyboardButton>>? rows, Bool? is_persistent, Bool? resize_keyboard, Bool? one_time, Bool? is_personal, string? input_field_placeholder})
ReplyMarkupShowKeyboard.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
input_field_placeholder string?
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters
getter/setter pair
is_persistent Bool?
True, if the keyboard is supposed to always be shown when the ordinary keyboard is hidden
getter/setter pair
is_personal Bool?
True, if the keyboard must automatically be shown to the current user. For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of a reply
getter/setter pair
one_time Bool?
True, if the application needs to hide the keyboard after use
getter/setter pair
resize_keyboard Bool?
True, if the application needs to resize the keyboard vertically
getter/setter pair
rows vector<vector<KeyboardButton>>?
A list of rows of bot keyboard buttons
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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