RestCord logo RestCord

createGuildChannel

$client->guild->createGuildChannel($parameters);

Description

Create a new channel object for the guild. Requires the 'MANAGE_CHANNELS' permission. Fires a Channel Create Gateway event.

Parameters

Name Type Required Default
guild.id snowflake true null
name string false null
type integer false null
bitrate integer false null
user_limit integer false null
permission_overwrites array false null
parent_id snowflake false null
nsfw bool false null

Response

Returns the new channel object on success.

Can Return: