Home > borogove > SerializedChat > (constructor)

SerializedChat.(constructor)

Constructs a new instance of the borogove_SerializedChat class

Signature:

constructor(chatId: string, trusted: boolean, isBookmarked: boolean, avatarSha1: ArrayBuffer | null, presence: Map<string markdown="1",borogove_Presence>, displayName: string | null, uiState: borogove_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
isBookmarked boolean
avatarSha1 ArrayBuffer | null
presence Map<string,borogove_Presence>
displayName string | null
uiState borogove_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