Constructor
new(chatId:String, trusted:Bool, isBookmarked:Bool, avatarSha1:Null<BytesData>, presence:Map<String, Presence>, displayName:Null<String>, uiState:Null<UiState>, isBlocked:Null<Bool>, status:Status, extensions:Null<String>, readUpToId:Null<String>, readUpToBy:Null<String>, notificationsFiltered:Null<Bool>, notifyMention:Bool, notifyReply:Bool, threads:StringMapNullableKey, disco:Null<Caps>, omemoContactDeviceIDs:Array<Int>, klass:String)
Create a serialized chat snapshot suitable for persistence.
Variables
Methods
toChat(client:Client, stream:GenericStream, persistence:Persistence):Chat
Recreate a live Chat object from this serialized representation.