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
.name
Type: string
.parentId
Type: stringor null
.raw
Type: Object
.serverId
Type: string
.topic
Type: stringor null
.type
Type: ChannelType
.updatedAt
Type: Dateor null
.createWebhook(options:RESTPostServerWebhooksBody)
Type: Promise<Webhook>
Create a new webhook for 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.