DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
The core of a message's data structure. More...
#include <FoundationEntities.hpp>
Public Data Members | |
message_activity_data | activity {} |
Message activity data. | |
application_data | application {} |
A. | |
snowflake | applicationId {} |
Application id. | |
jsonifier::vector< attachment_data > | attachments {} |
Array of attachment data. | |
user_data | author {} |
The author's user_data data. | |
snowflake | channelId {} |
The channel_data it was sent in. | |
jsonifier::vector< action_row_data > | components {} |
Array of action row data. | |
jsonifier::string | content {} |
The message's content. | |
jsonifier::string | editedTimestamp {} |
The time at which it was edited. | |
jsonifier::vector< embed_data > | embeds {} |
Array of message embeds. | |
uint64_t | flags {} |
Flags. | |
snowflake | guildId {} |
The id of the guild the message was sent in. | |
message_interaction_data | interaction {} |
Message interaction data. | |
guild_member_data | member {} |
The author's guild member data.pplication data. | |
jsonifier::vector< channel_mention_data > | mentionChannels {} |
Array of channel_data mention data. | |
bool | mentionEveryone {} |
Does the message mention everyone? | |
jsonifier::vector< jsonifier::string > | mentionRoles {} |
Jsonifier::vector of "mention roles" ids. | |
jsonifier::vector< user_data > | mentions {} |
Array of user_data data, for individual's that were mentioned. | |
message_reference_data | messageReference {} |
Message reference data. | |
jsonifier::string | nonce {} |
Nonce. | |
bool | pinned {} |
Is it pinned? | |
jsonifier::vector< sticker_item_data > | stickerItems {} |
Array of message sticker_data item data. | |
jsonifier::vector< sticker_data > | stickers {} |
Array of message sticker_data data. | |
channel_data | thread {} |
The thread_data that the message was sent in, if applicable. | |
time_stamp | timeStamp {} |
The timeStamp of when the message was created. | |
bool | tts {} |
Is it a text-to-speech message_data? | |
message_type | type {} |
Message type. | |
snowflake | webHookId {} |
Web_hook id of the message_data, if applicable. | |