ChatEventMemberPromoted class

A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.

Inheritance
Available Extensions

Constructors

ChatEventMemberPromoted({required int user_id, required ChatMemberStatus old_status, required ChatMemberStatus new_status, int? extra, int? clientId})
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
new_status ChatMemberStatus
New status of the chat member.
read / write
old_status ChatMemberStatus
Previous status of the chat member.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
user_id int
Affected chat member user identifier.
read / write

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) ChatEventMemberPromoted?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatEventMemberPromoted"