ChannelParticipantAdmin class

Channel Participant Admin.

ID: 34c3bb53.

Inheritance

Constructors

ChannelParticipantAdmin({required bool canEdit, required bool self, required int userId, int? inviterId, required int promotedBy, required DateTime date, required ChatAdminRightsBase adminRights, String? rank})
Channel Participant Admin constructor.
const
ChannelParticipantAdmin.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

adminRights → ChatAdminRightsBase
Admin Rights.
final
canEdit → bool
can_edit: bit 0 of flags.0?true
final
date → DateTime
Date.
final
flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inviterId → int?
Inviter Id.
final
promotedBy → int
Promoted By.
final
rank → String?
Rank.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
self → bool
self: bit 1 of flags.1?true
final
userId → int
User Id.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() → Map<String, dynamic>
Converts an object to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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