ReplyMarkupShowKeyboard class final
Contains a custom keyboard layout to quickly reply to bots
- Inheritance
-
- Object
- TdObject
- ReplyMarkup
- ReplyMarkupShowKeyboard
Constructors
-
ReplyMarkupShowKeyboard({required List<
List< rows, required bool isPersistent, required bool resizeKeyboard, required bool oneTime, required bool isPersonal, required String inputFieldPlaceholder})KeyboardButton> > -
Contains a custom keyboard layout to quickly reply to bots
const
-
ReplyMarkupShowKeyboard.fromJson(Map<
String, dynamic> json) -
Parses a ReplyMarkupShowKeyboard from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputFieldPlaceholder → String
-
If non-empty, the placeholder to be shown in the input field when the keyboard is active; 0-64 characters
final
- isPersistent → bool
-
True, if the keyboard is supposed to always be shown when the ordinary keyboard is hidden
final
- isPersonal → 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
final
- oneTime → bool
-
True, if the application needs to hide the keyboard after use
final
- resizeKeyboard → bool
-
True, if the application needs to resize the keyboard vertically
final
-
rows
→ List<
List< KeyboardButton> > -
A list of rows of bot keyboard buttons
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< List< ? rows, bool? isPersistent, bool? resizeKeyboard, bool? oneTime, bool? isPersonal, String? inputFieldPlaceholder}) → ReplyMarkupShowKeyboardKeyboardButton> > -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.