Chat class

Chat.

ID: 41cbf256.

Inheritance

Constructors

Chat({required bool creator, required bool left, required bool deactivated, required bool callActive, required bool callNotEmpty, required bool noforwards, required int id, required String title, required ChatPhotoBase photo, required int participantsCount, required DateTime date, required int version, InputChannelBase? migratedTo, ChatAdminRightsBase? adminRights, ChatBannedRightsBase? defaultBannedRights})
Chat constructor.
const
Chat.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

adminRights ChatAdminRightsBase?
Admin Rights.
final
callActive bool
call_active: bit 23 of flags.23?true
final
callNotEmpty bool
call_not_empty: bit 24 of flags.24?true
final
creator bool
creator: bit 0 of flags.0?true
final
date DateTime
Date.
final
deactivated bool
deactivated: bit 5 of flags.5?true
final
defaultBannedRights ChatBannedRightsBase?
Default Banned Rights.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
Id.
final
left bool
left: bit 2 of flags.2?true
final
migratedTo InputChannelBase?
Migrated To.
final
noforwards bool
noforwards: bit 25 of flags.25?true
final
participantsCount int
Participants Count.
final
photo ChatPhotoBase
Photo.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Title.
final
version int
Version.
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