BotCommandScopeChatMember class
Represents the scope of bot commands, covering a specific member of a group or supergroup chat.
- Inheritance
-
- Object
- BotCommandScope
- BotCommandScopeChatMember
Constructors
- BotCommandScopeChatMember(ChatID chatId, int userId)
- Basic constructor
Properties
- chatId ↔ ChatID
-
Unique identifier for the target chat or username of the target supergroup
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Scope type, must be chat_member
final
- userId ↔ int
-
Unique identifier of the target user
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