Interface POSTChannelBody

Hierarchy

  • POSTChannelBody

Properties

categoryId: number

The category the channel should go in. If not provided, channel will be a top-level channel

groupId?: string

The group that the channel should be created in. If not provided, channel will be created in the "Server home" group from serverId or in the group that corresponds to the categoryId parameter

isPublic?: boolean

Whether the channel can be accessed from users who are not member of the server (default false)

name: string

The name of the channel (min length 1; max length 100)

serverId?: string

The server that the channel should be created in. Optional if providing a groupId or categoryId

topic?: string

The topic of the channel (min length 1; max length 512)

The type of channel to create