ReplyMarkupShowKeyboard class
Contains a custom keyboard layout to quickly reply to bots.
- Inheritance
-
- Object
- TlObject
- ReplyMarkup
- ReplyMarkupShowKeyboard
- Available Extensions
Constructors
-
ReplyMarkupShowKeyboard({required List<
List< rows, required bool is_persistent, required bool resize_keyboard, required bool one_time, required bool is_personal, required String input_field_placeholder, int? extra, int? clientId})KeyboardButton> > - Contains a custom keyboard layout to quickly reply to bots
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- input_field_placeholder ↔ String
-
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters.
read / write
- is_persistent ↔ bool
-
True, if the keyboard is supposed to always be shown when the ordinary keyboard is hidden.
read / write
- 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.
read / write
- one_time ↔ bool
-
True, if the application needs to hide the keyboard after use.
read / write
- resize_keyboard ↔ bool
-
True, if the application needs to resize the keyboard vertically.
read / write
-
rows
↔ List<
List< KeyboardButton> > -
A list of rows of bot keyboard buttons.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → ReplyMarkupShowKeyboard? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"replyMarkupShowKeyboard"