Concord - C Discord API library
A Discord API wrapper library written in C
discord_create_guild_channel Struct Reference

#include <guild.h>

Collaboration diagram for discord_create_guild_channel:
[legend]

Data Fields

char * reason
 
char * name
 
enum discord_channel_types type
 
char * topic
 
int bitrate
 
int user_limit
 
int rate_limit_per_user
 
int position
 
struct discord_overwritespermission_overwrites
 
u64snowflake parent_id
 
bool nsfw
 

Detailed Description

Field Documentation

◆ reason

char* discord_create_guild_channel::reason
Parameters
reasona reason to indicate why the action was taken

◆ name

char* discord_create_guild_channel::name

channel name (1-100 characters)

Examples
channel.c.

◆ type

enum discord_channel_types discord_create_guild_channel::type

the type of channel

◆ topic

char* discord_create_guild_channel::topic

channel topic (0-1024 characters)

◆ bitrate

int discord_create_guild_channel::bitrate

the bitrate (in bits) of the voice channel (voice only)

◆ user_limit

int discord_create_guild_channel::user_limit

the user limit of the voice channel (voice only)

◆ rate_limit_per_user

int discord_create_guild_channel::rate_limit_per_user

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

◆ position

int discord_create_guild_channel::position

sorting position of the channel

◆ permission_overwrites

struct discord_overwrites* discord_create_guild_channel::permission_overwrites

the channel's permission overwrites

◆ parent_id

u64snowflake discord_create_guild_channel::parent_id

ID of the parent category for a channel

◆ nsfw

bool discord_create_guild_channel::nsfw

whether the channel is nsfw


The documentation for this struct was generated from the following file: