.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

.type

Type: ChannelType

.updatedAt

Type: Dateor null
Type: Promise<unknown>

Delete the channel.

.fetchMessage(messageId:

string

)

Type: Promise<Message>

Fetch details for a specific message in the channel.

.fetchMessages(options:RESTGetChannelMessagesQuery)

Type: Promise<Collection>

Fetch from the latest 100 messages in the channel.

.send(content:MessageContent)

Type: Promise<Message>

Send a message in the channel.

.update(options:RESTPatchChannelBody)

Type: Promise<Channel>

Update the channel with new data.