Home > borogove > Chat > (constructor)
Chat.(constructor)
Constructs a new instance of the borogove_Chat class
Signature:
protected constructor(client: borogove_Client, stream: borogove_GenericStream, persistence: borogove_Persistence, chatId: string, uiState?: borogove_UiState, isBookmarked?: boolean, isBlocked?: boolean, extensions?: borogove_Stanza | null, readUpToId?: string | null, readUpToBy?: string | null, omemoContactDeviceIDs?: number[] | null);
Parameters
| Parameter | Type | Description |
|---|---|---|
| client | borogove_Client | |
| stream | borogove_GenericStream | |
| persistence | borogove_Persistence | |
| chatId | string | |
| uiState | borogove_UiState | (Optional) |
| isBookmarked | boolean | (Optional) |
| isBlocked | boolean | (Optional) |
| extensions | borogove_Stanza | null | (Optional) |
| readUpToId | string | null | (Optional) |
| readUpToBy | string | null | (Optional) |
| omemoContactDeviceIDs | number[] | null | (Optional) |