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

Uint8 flags {}
 Flags combined as a bitmask.
 
Snowflake guildId {}
 Id of the Channel's Guild, if applicable.
 
Int32 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.
 
Uint16 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
String getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 

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