| D++ (DPP) C++ Discord API Bot Library

Search
Loading...
Searching...
No Matches
dpp::message::allowed_ref Struct Reference

Allowed mentions details. More...

`#include <message.h>`

Collaboration diagram for dpp::message::allowed_ref:
[legend]

## Public Attributes

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

## 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.13 D++ Library version 9.0.12 D++ Library version 9.0.11 D++ Library version 9.0.10 D++ Library version 9.0.9 D++ Library version 9.0.8 D++ Library version 9.0.7 D++ Library version 9.0.6 D++ Library version 9.0.5 D++ Library version 9.0.4 D++ Library version 9.0.3 D++ Library version 9.0.2 D++ Library version 9.0.1 D++ Library version 9.0.0 D++ Library version 1.0.2 D++ Library version 1.0.1 D++ Library version 1.0.0