Type alias CreateGuildChannelData

CreateGuildChannelData: {
    bitrate?: number;
    name: string;
    nsfw?: boolean;
    parent_id?: string;
    permission_overwrites?: Overwrite[];
    position?: number;
    rate_limit_per_user?: number;
    reason?: string;
    topic?: string;
    type?: GuildChannel["type"];
    user_limit?: number;
}

Type declaration

  • Optional bitrate?: number

    bitrate of the channel (voice only)

  • name: string

    name of the channel

  • Optional nsfw?: boolean

    whether the channel is nsfw

  • Optional parent_id?: string

    id of the parent category for a channel

  • Optional permission_overwrites?: Overwrite[]

    permissions overwrites for the channel

  • Optional position?: number

    sorting position of the channel

  • Optional rate_limit_per_user?: number

    amount of seconds a user has to wait before sending another message (0-21600). bots, as well as users with the permission MANAGE_MESSAGES or MANAGE_CHANNEL, are unaffected

  • Optional reason?: string

    reason for creating the channel

  • Optional topic?: string

    The topic of the channel

  • Optional type?: GuildChannel["type"]

    type of the channel

  • Optional user_limit?: number

    user limit of a channel (voice only)

Generated using TypeDoc