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

#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
 

Detailed Description

Field Documentation

◆ reason

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

◆ name

char* discord_start_thread_without_message::name

1-100 character channel name

Examples
channel.c.

◆ auto_archive_duration

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

◆ type

enum discord_channel_types discord_start_thread_without_message::type

the type of thread to create

◆ invitable

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

◆ rate_limit_per_user

int discord_start_thread_without_message::rate_limit_per_user

amount of seconds a user has to wait before sending another message (0-21600)


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