A Discord bot library written in C++, with custom asynchronous coroutines.
No Matches
DiscordCoreAPI::CreateGuildChannelData Struct Reference

For creating a new Channel within a chosen Guild. More...

#include <ChannelEntities.hpp>

Public Data Members

int32_t bitrate { 0 }
 The bitrate(in bits) of the voice Channel(voice only).
int32_t defaultAutoArchiveDuration { 0 }
 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 { false }
 Whether the Channel is nsfw.
Snowflake parentId {}
 Id of the parent category for a Channel.
std::vector< OverWriteDatapermissionOverwrites {}
 Array of overwrite objects the Channel's permission overwrites.
int32_t position { 0 }
 Sorting position of the Channel.
int32_t rateLimitPerUser { 0 }
 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 { 0 }
 The user limit of the voice Channel(voice only).

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