func CreateGuildChannel(client httd.Poster, id Snowflake, params *CreateGuildChannelParams) (ret *Channel, err error) {
	_, body, err := client.Post(&httd.Request{
		Ratelimiter: ratelimitGuild(id),
		Endpoint:    endpoint.GuildChannels(id),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// CreateGuildChannel [POST]    Create a new channel object for the guild. Requires the 'MANAGE_CHANNELS' permission.
//                              Returns the new channel object on success. Fires a Channel Create Gateway event.
// Endpoint                     /guilds/{guild.id}/channels
// Rate limiter                 /guilds/{guild.id}/channels
// Discord documentation        https://discordapp.com/developers/docs/resources/guild#create-guild-channel
// Reviewed                     2018-08-17
// Comment                      All parameters for this endpoint. are optional excluding 'name'
CreateGuildChannel [POST]    Create a new channel object for the guild. Requires the 'MANAGE_CHANNELS' permission.
Returns the new channel object on success. Fires a Channel Create Gateway event.
// CreateGuildChannel [ POST ] Create a new channel object for the guild . Requires the ' MANAGE_CHANNELS ' permission . // Returns the new channel object on success . Fires a Channel Create Gateway event . // Endpoint / guilds / { guild . id } / channels // Rate limiter / guilds / { guild . id } / channels // Discord documentation https : // discordapp . com / developers / docs / resources / guild#create - guild - channel // Reviewed 2018 - 08 - 17 // Comment All parameters for this endpoint . are optional excluding ' name '
func CreateGuildChannel(client httd.Poster, id Snowflake, params *CreateGuildChannelParams) (ret *Channel, err error) {
	_, body, err := client.Post(&httd.Request{
		Ratelimiter: ratelimitGuild(id),
		Endpoint:    endpoint.GuildChannels(id),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func CreateGuildChannel ( client httd . Poster , id Snowflake , params * CreateGuildChannelParams ) ( ret * Channel , err error ) { _ , body , err := client . Post ( & httd . Request { Ratelimiter : ratelimitGuild ( id ) , Endpoint : endpoint . GuildChannels ( id ) , JSONParams : params , ContentType : httd . ContentTypeJSON , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
CreateGuildChannel [POST]    Create a new channel object for the guild.
CreateGuildChannel [ POST ] Create a new channel object for the guild .