![]() |
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>
Collaboration diagram for dpp::activity_button:Public Member Functions | |
| activity_button ()=default | |
Public Attributes | |
| std::string | label |
| std::string | url |
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). It's may be empty