D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::message::message_ref Struct Reference

Reference to another message, e.g. More...

#include "message.h"

Collaboration diagram for dpp::message::message_ref:

Public Attributes

snowflake channel_id
 ID of the originating message's channel. 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. More...
 
snowflake guild_id
 ID of the originating message's guild. More...
 
snowflake message_id
 ID of the originating message. More...
 

Detailed Description

Reference to another message, e.g.

a reply

Member Data Documentation

◆ channel_id

snowflake dpp::message::message_ref::channel_id

ID of the originating message's channel.

Referenced by dpp::message::to_json().

◆ fail_if_not_exists

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.

Referenced by dpp::message::to_json().

◆ guild_id

snowflake dpp::message::message_ref::guild_id

ID of the originating message's guild.

Referenced by dpp::message::to_json().

◆ message_id

snowflake dpp::message::message_ref::message_id

ID of the originating message.

Referenced by dpp::message::to_json().


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