![]() |
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 | |
MessageActivityData | activity {} |
Message activity data. | |
ApplicationData | application {} |
Application data. | |
Snowflake | applicationId {} |
Application id. | |
std::vector< AttachmentData > | attachments {} |
Array of attachment data. | |
UserData | author {} |
The author's User data. | |
Snowflake | channelId {} |
The Channel it was sent in. | |
std::vector< ActionRowData > | components {} |
Array of action row data. | |
std::string | content {} |
The Message's content. | |
TimeStamp | editedTimestamp {} |
The time at which it was edited. | |
std::vector< EmbedData > | embeds {} |
Array of Message embeds. | |
int32_t | flags {} |
Flags. | |
Snowflake | guildId {} |
The id of the Guild the Message was sent in. | |
MessageInteractionData | interaction {} |
Message Interaction data. | |
GuildMemberData | member {} |
The author's Guild member data. | |
std::vector< ChannelMentionData > | mentionChannels {} |
array of Channel mention data. | |
bool | mentionEveryone {} |
Does the Message mention everyone? | |
std::vector< std::string > | mentionRoles {} |
std::vector of "mention roles" ids. | |
std::vector< UserData > | mentions {} |
Array of User data, for individual's that were mentioned. | |
MessageReferenceData | messageReference {} |
Message reference data. | |
std::string | nonce {} |
Nonce. | |
bool | pinned {} |
Is it pinned? | |
std::vector< StickerItemData > | stickerItems {} |
Array of Message Sticker item data. | |
std::vector< StickerData > | stickers {} |
Array of Message Sticker data. | |
ChannelData | thread {} |
The Thread that the Message was sent in, if applicable. | |
TimeStamp | timeStamp {} |
The timeStamp of when the Message was created. | |
bool | tts {} |
Is it a text-to-speech Message? | |
MessageType | type {} |
Message type. | |
Snowflake | webHookId {} |
WebHook id of the Message, if applicable. | |
![]() | |
Snowflake | id {} |
Additional Inherited Members | |
![]() | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |