Home > borogove > SerializedChat > (constructor)
SerializedChat.(constructor)
Constructs a new instance of the SerializedChat class
Signature:
constructor(chatId: string, trusted: boolean, avatarSha1: ArrayBuffer | null, presence: Map<string markdown="1",borogove.Presence>, displayName: string | null, uiState: enums.UiState | null, isBlocked: boolean | null, extensions: string | null, readUpToId: string | null, readUpToBy: string | null, notificationsFiltered: boolean | null, notifyMention: boolean, notifyReply: boolean, disco: borogove.Caps | null, omemoContactDeviceIDs: number[], klass: string);
Parameters
| Parameter | Type | Description |
|---|---|---|
| chatId | string | |
| trusted | boolean | |
| avatarSha1 | ArrayBuffer | null | |
| presence | Map<string,borogove.Presence> | |
| displayName | string | null | |
| uiState | enums.UiState | null | |
| isBlocked | boolean | null | |
| extensions | string | null | |
| readUpToId | string | null | |
| readUpToBy | string | null | |
| notificationsFiltered | boolean | null | |
| notifyMention | boolean | |
| notifyReply | boolean | |
| disco | borogove.Caps | null | |
| omemoContactDeviceIDs | number[] | |
| klass | string |