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

Allowed mentions details. More...

#include "message.h"

Collaboration diagram for dpp::message::allowed_ref:

Public Attributes

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


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