ReplyKeyboardRemove class
Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).
- Inheritance
-
- Object
- ReplyMarkup
- ReplyKeyboardRemove
Constructors
- ReplyKeyboardRemove({bool removeKeyboard = true, bool? selective})
- Constructs a ReplyKeyboardRemove object
-
ReplyKeyboardRemove.fromJson(Map<
String, dynamic> json) -
Creates a ReplyKeyboardRemove object from JSON object
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- removeKeyboard → bool
-
Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use one_time_keyboard in ReplyKeyboardMarkup)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selective → bool?
-
Optional. Use this parameter if you want to remove the keyboard for specific users only.
Targets:
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts a ReplyKeyboardRemove object to a json object
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited