BotCommandScopeChatAdministrators class final
A scope covering all administrators of a chat
- Inheritance
-
- Object
- TdObject
- BotCommandScope
- BotCommandScopeChatAdministrators
- Available extensions
- Annotations
-
- @immutable
Constructors
- BotCommandScopeChatAdministrators({required int chatId})
Properties
Methods
-
copyWith(
{int? chatId}) → BotCommandScopeChatAdministrators -
Available on BotCommandScopeChatAdministrators, provided by the BotCommandScopeChatAdministratorsExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult allChatAdministrators(BotCommandScopeAllChatAdministrators value), required TResult allGroupChats(BotCommandScopeAllGroupChats value), required TResult allPrivateChats(BotCommandScopeAllPrivateChats value), required TResult chat(BotCommandScopeChat value), required TResult chatAdministrators(BotCommandScopeChatAdministrators value), required TResult chatMember(BotCommandScopeChatMember value), required TResult $default(BotCommandScopeDefault value)}) → TResult -
Available on BotCommandScope, provided by the BotCommandScopeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult allChatAdministrators(BotCommandScopeAllChatAdministrators value)?, TResult allGroupChats(BotCommandScopeAllGroupChats value)?, TResult allPrivateChats(BotCommandScopeAllPrivateChats value)?, TResult chat(BotCommandScopeChat value)?, TResult chatAdministrators(BotCommandScopeChatAdministrators value)?, TResult chatMember(BotCommandScopeChatMember value)?, TResult $default(BotCommandScopeDefault value)?, required TResult orElse()}) → TResult -
Available on BotCommandScope, provided by the BotCommandScopeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
Constants
- constructor → const String