DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::message_data Class Reference

Data structure representing a single message_data. More...

#include <FoundationEntities.hpp>

Inheritance diagram for discord_core_api::message_data:
[legend]

Public Data Members

message_data_old referencedMessage {}
 The referenced message, to reply to.
 
- Public Data Members inherited from discord_core_api::message_data_old
message_activity_data activity {}
 Message activity data.
 
application_data application {}
 A.
 
snowflake applicationId {}
 Application id.
 
jsonifier::vector< attachment_dataattachments {}
 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_datacomponents {}
 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_dataembeds {}
 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_datamentionChannels {}
 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_datamentions {}
 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_datastickerItems {}
 Array of message sticker_data item data.
 
jsonifier::vector< sticker_datastickers {}
 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.
 

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