Home > borogove > Channel > (constructor)

Channel.(constructor)

Constructs a new instance of the borogove_Channel 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, disco?: borogove_Caps | 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)
disco borogove_Caps | null (Optional)