DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data structure representing a single channel_data. More...
#include <FoundationEntities.hpp>
Inherits discord_core_api::flag_entity< value_type >.
Public Member Functions | |
operator channel_data () | |
For converting this into a channel_data instance. | |
Public Data Members | |
channel_flags | flags {} |
Flags combined as a bitmask. | |
snowflake | guildId {} |
snowflake of the channel_data's guild, if applicable. | |
snowflake | id {} |
This channel's id. | |
uint32_t | memberCount {} |
count of members active in the channel_data. | |
jsonifier::string | name {} |
Name of the channel_data. | |
snowflake | ownerId {} |
snowflake of the channel_data's owner. | |
snowflake | parentId {} |
snowflake of the channel_data's parent channel_data/category. | |
jsonifier::vector< over_write_data > | permissionOverwrites {} |
Permission overwrites. | |
uint32_t | position {} |
The position of the channel_data, in the guild's channel_data list. | |
jsonifier::string | topic {} |
channel_data topic. | |
channel_type | type { channel_type::Dm } |
The type of the channel_data. | |