dscrd
Discord C library
Data Fields
DiscordChannel_s Struct Reference

Discord channel. More...

#include <dscrd.h>

Collaboration diagram for DiscordChannel_s:
Collaboration graph
[legend]

Data Fields

char id [21]
 channel ID More...
 
uint8_t _type
 reserved for type detection More...
 
int type
 channel type, one of channel_types More...
 
char guild_id [21]
 guild ID channel belongs to More...
 
int position
 "sorting position of the channel" More...
 
char * name
 
char * topic
 
bool nsfw
 
char last_message_id [21]
 
int bitrate
 
int user_limit
 
char * icon
 
char owner_id [21]
 
char application_id [21]
 
char parent_id [21]
 
char * last_pin_timestamp
 
DiscordClientdiscord_client
 

Detailed Description

Discord channel.

See also
DiscordChannel_s for detailed element documentation.
Todo:
detailed element documentation

Field Documentation

◆ _type

uint8_t _type

reserved for type detection

◆ application_id

char application_id[21]

◆ bitrate

int bitrate

◆ discord_client

DiscordClient* discord_client

◆ guild_id

char guild_id[21]

guild ID channel belongs to

◆ icon

char* icon

◆ id

char id[21]

channel ID

◆ last_message_id

char last_message_id[21]

◆ last_pin_timestamp

char* last_pin_timestamp

◆ name

char* name

◆ nsfw

bool nsfw

◆ owner_id

char owner_id[21]

◆ parent_id

char parent_id[21]

◆ position

int position

"sorting position of the channel"

◆ topic

char* topic

◆ type

int type

channel type, one of channel_types

◆ user_limit

int user_limit

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