BotCommandScope class
This object represents the scope to which bot commands are applied.
Currently, the following 7 scopes are supported:
- Implementers
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- BotCommandScope({required String type})
-
BotCommandScope.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- typeAllChatAdministrators → const String
- typeAllGroupChats → const String
- typeAllPrivateChats → const String
- typeChat → const String
- typeChatAdministrators → const String
- typeChatMember → const String
- typeDefault → const String