Properties
.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.
Type: Promise<unknown>
Fetches all list items in this channel.
.uncompleteItem(itemId:string
)
Type: Promise<void>
Uncompletes a list item.