D++ (DPP)
C++ Discord API Bot Library
|
Reference to another message, e.g. a reply. More...
#include <message.h>
Public Attributes | |
message_ref_type | type {mrt_default} |
Message reference type, set to 1 to forward a message. More... | |
snowflake | message_id |
ID of the originating message. More... | |
snowflake | channel_id |
ID of the originating message's channel. More... | |
snowflake | guild_id |
ID of the originating message's guild. More... | |
bool | fail_if_not_exists |
when sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message. Default true. More... | |
Reference to another message, e.g. a reply.
snowflake dpp::message::message_ref::channel_id |
ID of the originating message's channel.
bool dpp::message::message_ref::fail_if_not_exists |
when sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message. Default true.
snowflake dpp::message::message_ref::guild_id |
ID of the originating message's guild.
snowflake dpp::message::message_ref::message_id |
ID of the originating message.
message_ref_type dpp::message::message_ref::type {mrt_default} |
Message reference type, set to 1 to forward a message.