import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.1/mod.ts";
Create a new channel object for the guild. Requires the MANAGE_CHANNELS
permission. If setting permission overwrites, only permissions your bot has in the guild can be allowed/denied. Setting MANAGE_ROLES
permission in channels is only possible for guild administrators. Returns the new channel object on success. Fires a Channel Create Gateway event.
Parameters
payload: GuildCreateChannelPayload
Returns
Promise<ChannelPayload>