Home > borogove > SerializedChat

SerializedChat class

Signature:

export class SerializedChat 

Constructors

Constructor Modifiers Description
(constructor)(chatId, trusted, avatarSha1, presence, displayName, uiState, isBlocked, extensions, readUpToId, readUpToBy, notificationsFiltered, notifyMention, notifyReply, disco, omemoContactDeviceIDs, klass) Constructs a new instance of the SerializedChat class

Properties

Property Modifiers Type Description
avatarSha1 ArrayBuffer | null
chatId string
disco borogove.Caps | null
displayName string | null
extensions string
isBlocked boolean
klass string
notificationsFiltered boolean | null
notifyMention boolean
notifyReply boolean
omemoContactDeviceIDs number[]
presence Map<string,borogove.Presence>
readUpToBy string | null
readUpToId string | null
trusted boolean
uiState enums.UiState

Methods

Method Modifiers Description
toChat(client, stream, persistence)