.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

.items

Type: Collection

.name

Type: string

.parentId

Type: stringor null

.raw

Type: Object

.serverId

Type: string

.topic

Type: stringor null

.type

Type: ChannelType

.updatedAt

Type: Dateor null

.completeItem(itemId:

string

)

Type: Promise<void>

Completes a list item.

.createItem(message:

string

,

note:

string

)

Type: Promise<ListItemPayload>

Creates a list item in this channel.

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.

.getItem(itemId:

string

)

Type: Promise<ListItemPayload>

Fetches a list item by its ID.

Type: Promise<unknown>

Fetches all list items in this channel.

.send(content:MessageContent)

Type: Promise<Message>

Send a message in the channel.

.uncompleteItem(itemId:

string

)

Type: Promise<void>

Uncompletes a list item.

.update(options:RESTPatchChannelBody)

Type: Promise<Channel>

Update the channel with new data.