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

Constructors

ReplyKeyboardRemove({required bool removeKeyboard, bool? selective})
Basic constructor

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)
getter/setter pair
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:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) ReplyKeyboardRemove
Creates a object from a json