ChatMemberStatusAdministrator class

The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats..

Inheritance
Available Extensions

Constructors

ChatMemberStatusAdministrator({required String custom_title, required bool can_be_edited, required ChatAdministratorRights rights, int? extra, int? clientId})
The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats.

Properties

can_be_edited bool
True, if the current user can edit the administrator privileges for the called user.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
custom_title String
A custom title of the administrator; 0-16 characters without emojis; applicable to supergroups only.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
rights ChatAdministratorRights
Rights of the administrator.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) ChatMemberStatusAdministrator?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatMemberStatusAdministrator"