![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For creating a new Channel within a chosen Guild. More...
#include <ChannelEntities.hpp>
Public Data Members | |
int32_t | bitrate {} |
The bitrate(in bits) of the voice Channel(voice only). | |
int32_t | defaultAutoArchiveDuration {} |
Defualt duration of time before archiving a thread. | |
Snowflake | guildId {} |
The Guild within which to create the Channel. | |
std::string | name {} |
The name of the Channel. | |
bool | nsfw {} |
Whether the Channel is nsfw. | |
Snowflake | parentId {} |
Id of the parent category for a Channel. | |
std::vector< OverWriteData > | permissionOverwrites {} |
Array of overwrite objects the Channel's permission overwrites. | |
int32_t | position {} |
Sorting position of the Channel. | |
int32_t | rateLimitPerUser {} |
Amount of seconds a user has to wait before sending another message(0 - 21600). | |
std::string | reason {} |
Reason for creating the Channel. | |
std::string | topic {} |
Channel topic(0 - 1024 characters). | |
ChannelType | type {} |
The type of Channel. | |
int32_t | userLimit {} |
The user limit of the voice Channel(voice only). | |