D++ (DPP)
C++ Discord API Bot Library
|
An activity button is a custom button shown in the rich presence. Can be to join a game or whatever. More...
#include <presence.h>
Public Member Functions | |
activity_button ()=default | |
Public Attributes | |
std::string | label |
The text shown on the button (1-32 characters). More... | |
std::string | url |
The url opened when clicking the button (1-512 characters, can be empty). More... | |
An activity button is a custom button shown in the rich presence. Can be to join a game or whatever.
|
default |
Constructor
std::string dpp::activity_button::label |
The text shown on the button (1-32 characters).
std::string dpp::activity_button::url |
The url opened when clicking the button (1-512 characters, can be empty).