DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::ChannelData Class Reference

Data structure representing a single Channel. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::ChannelData:
[legend]

Public Data Members

SortOrderTypes defaultSortOrder {}
 Default sorting order for a forum thread.
 
ChannelFlags flags {}
 Flags combined as a bitmask.
 
Snowflake guildId {}
 Id of the Channel's Guild, if applicable.
 
uint32_t memberCount { 0 }
 Count of members active in the Channel.
 
StringWrapper name {}
 Name of the Channel.
 
Snowflake ownerId {}
 Id of the Channel's owner.
 
Snowflake parentId {}
 Id of the Channel's parent Channel/category.
 
std::vector< OverWriteDatapermissionOverwrites {}
 Permission overwrites.
 
uint16_t position { 0 }
 The position of the Channel, in the Guild's Channel list.
 
StringWrapper topic {}
 Channel topic.
 
ChannelType type { ChannelType::DM }
 The type of the Channel.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp.
 

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