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

Allowed mentions details. More...

+ Collaboration diagram for dpp::message::allowed_ref:

Public Attributes

bool parse_users
 Set to true to parse user mentions in the text. Default is false. More...
 
bool parse_everyone
 Set to true to at-everyone and at-here mentions in the text. Default is false. More...
 
bool parse_roles
 Set to true to parse role mentions in the text. Default is false. More...
 
bool replied_user
 Set to true to mention the user who sent the message this one is replying to. Default is false. More...
 
std::vector< snowflakeusers
 List of users to allow pings for. More...
 
std::vector< snowflakeroles
 List of roles to allow pings for. More...
 

Detailed Description

Allowed mentions details.

Member Data Documentation

◆ parse_everyone

bool dpp::message::allowed_ref::parse_everyone

Set to true to at-everyone and at-here mentions in the text. Default is false.

◆ parse_roles

bool dpp::message::allowed_ref::parse_roles

Set to true to parse role mentions in the text. Default is false.

◆ parse_users

bool dpp::message::allowed_ref::parse_users

Set to true to parse user mentions in the text. Default is false.

◆ replied_user

bool dpp::message::allowed_ref::replied_user

Set to true to mention the user who sent the message this one is replying to. Default is false.

◆ roles

std::vector<snowflake> dpp::message::allowed_ref::roles

List of roles to allow pings for.

◆ users

std::vector<snowflake> dpp::message::allowed_ref::users

List of users to allow pings for.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0