.archivedAt

Type: Dateor null

.archivedBy

Type: stringor null

.categoryId

Type: stringor null

.client

Type: Client

.createdAt

Type: Date

.createdBy

Type: string

.groupId

Type: string

.id

Type: string

.isPublic

Type: boolean

.name

Type: string

.parentId

Type: stringor null

.raw

Type: Object

.serverId

Type: string

.topic

Type: stringor null

.topics

Type: Collection

.type

Type: ChannelType

.updatedAt

Type: Dateor null

.createTopic(title:

string

,

content:

string

)

Type: Promise<ForumTopicPayload>

Create a topic in a forum

Type: Promise<unknown>

Delete this channel.

.deleteTopic(id:

string

)

Type: Promise<void>

Delete a topic in a forum

.fetchMessage(messageId:

string

)

Type: Promise<Message>

Get details for a specific chat message from a chat channel.

.fetchMessages(options:RESTGetChannelMessagesQuery)

Type: Promise<Collection>

Get a list of the latest 100 messages from a channel.

.send(content:MessageContent)

Type: Promise<Message>

Send a chat message in the channel.

.update(options:RESTPatchChannelBody)

Type: Promise<Channel>

Update this channel.