Channel class
Signature:
export class borogove_Channel extends borogove_Chat
Extends: borogove_Chat
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(client, stream, persistence, chatId, uiState, isBookmarked, isBlocked, extensions, readUpToId, readUpToBy, disco) |
protected
|
Constructs a new instance of the borogove_Channel class
|
Methods
| Method | Modifiers | Description |
|---|---|---|
| addRole(participantId, role) | ||
| availableRoles(participantId) | ||
| bookmark() | ||
| canAudioCall() | ||
| canInvite() | ||
| canModerate() | ||
| canRemoveRole(participantId, role) | ||
| canSend() | ||
| canVideoCall() | ||
| close() | ||
| correctMessage(correct, message) | ||
| description() | Description of this Channel | |
| getDisplayName() | ||
| getMessagesAfter(after) | ||
| getMessagesAround(around) | ||
| getMessagesBefore(before) | ||
| getParticipantDetails(participantId) | ||
| getParticipants() | ||
| invite(chat, threadId) | ||
| isPrivate() | Whether this channel is members-only/private. | |
| isTrusted() | ||
| lastMessageId() | ||
| markReadUpTo(message) | ||
| preview() | ||
| removeReaction(m, reaction) | ||
| removeRole(participantId, role) | ||
| sendMessage(message) | ||
| setTrusted(trusted) | ||
| subject() | Subject of this Channel | |
| syncing() |