title: Create Guild Channel category: Guild
createGuildChannel
$client->guild->createGuildChannel($parameters);
Create a new channel object for the guild. Requires the 'MANAGE_CHANNELS' permission. Fires a Channel Create Gateway event.
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 |
Returns the new channel object on success.
Can Return: