![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data structure representing a single Channel. More...
#include <FoundationEntities.hpp>
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 {} |
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< OverWriteData > | permissionOverwrites {} |
Permission overwrites. | |
uint16_t | position {} |
The position of the Channel, in the Guild's Channel list. | |
StringWrapper | topic {} |
Channel topic. | |
ChannelType | type { ChannelType::DM } |
The type of the Channel. | |
![]() | |
Snowflake | id {} |
Additional Inherited Members | |
![]() | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |