![]() |
D++ (DPP)
C++ Discord API Bot Library
|
The connection object that the user has attached. More...
#include <integration.h>
Collaboration diagram for dpp::connection:Public Member Functions | |
| connection () | |
| Construct a new connection object. More... | |
| connection & | fill_from_json (nlohmann::json *j) |
Public Attributes | |
| bool | friend_sync |
| whether friend sync is enabled for this connection More... | |
| std::string | id |
| id of the connection account More... | |
| std::vector< integration > | integrations |
| Optional: an array of partial server integrations. More... | |
| std::string | name |
| the username of the connection account More... | |
| bool | revoked |
| Optional: whether the connection is revoked. More... | |
| bool | show_activity |
| whether activities related to this connection will be shown in presence updates More... | |
| std::string | type |
| the service of the connection (twitch, youtube) More... | |
| bool | verified |
| whether the connection is verified More... | |
| bool | visible |
| visibility of this connection More... | |
The connection object that the user has attached.
| dpp::connection::connection | ( | ) |
Construct a new connection object.
| connection & dpp::connection::fill_from_json | ( | nlohmann::json * | j | ) |
Read class values from json object
| j | A json object to read from |
| bool dpp::connection::friend_sync |
whether friend sync is enabled for this connection
| std::string dpp::connection::id |
id of the connection account
| std::vector<integration> dpp::connection::integrations |
Optional: an array of partial server integrations.
| std::string dpp::connection::name |
the username of the connection account
| bool dpp::connection::revoked |
Optional: whether the connection is revoked.
| bool dpp::connection::show_activity |
whether activities related to this connection will be shown in presence updates
| std::string dpp::connection::type |
the service of the connection (twitch, youtube)
| bool dpp::connection::verified |
whether the connection is verified
| bool dpp::connection::visible |
visibility of this connection