![]() |
D++ (DPP)
C++ Discord API Bot Library
|
voice receive packet More...
#include <dispatcher.h>
Inheritance diagram for dpp::voice_receive_t:
Collaboration diagram for dpp::voice_receive_t:Public Member Functions | |
| voice_receive_t (class discord_client *client, const std::string &raw) | |
| Constructor. More... | |
Public Attributes | |
| uint8_t * | audio |
| size_t | audio_size |
| class discord_client * | from |
| std::string | raw_event |
| class discord_voice_client * | voice_client |
voice receive packet
| dpp::voice_receive_t::voice_receive_t | ( | class discord_client * | client, |
| const std::string & | raw | ||
| ) |
Constructor.
| client | The shard the event originated on. WILL ALWAYS be NULL. |
| raw | Raw event text as JSON |
| uint8_t* dpp::voice_receive_t::audio |
| size_t dpp::voice_receive_t::audio_size |
|
inherited |
Shard the event came from
|
inherited |
Raw event text
| class discord_voice_client* dpp::voice_receive_t::voice_client |