Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <channel.h>
Data Fields | |
char * | reason |
char * | name |
int | auto_archive_duration |
enum discord_channel_types | type |
bool | invitable |
int | rate_limit_per_user |
Public methods
discord_start_thread_without_message_from_json(const char json[], size_t len, struct discord_start_thread_without_message *this)
discord_start_thread_without_message_from_jsmnf(jsmnf *root, const char json[], struct discord_start_thread_without_message *this)
char* discord_start_thread_without_message::reason |
reason | a reason to indicate why the action was taken |
char* discord_start_thread_without_message::name |
1-100 character channel name
int discord_start_thread_without_message::auto_archive_duration |
duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080
enum discord_channel_types discord_start_thread_without_message::type |
the type of thread to create
bool discord_start_thread_without_message::invitable |
whether non-moderators can add other non-moderators to a thread; only available when creating a private thread
int discord_start_thread_without_message::rate_limit_per_user |
amount of seconds a user has to wait before sending another message (0-21600)