D++ (DPP)
C++ Discord API Bot Library
|
voice receive packet More...
#include <dispatcher.h>
Public Member Functions | |
voice_receive_t (class discord_client *client, const std::string &raw) | |
Constructor. More... | |
Public Attributes | |
class discord_voice_client * | voice_client |
uint8_t * | audio |
size_t | audio_size |
std::string | raw_event |
class discord_client * | from |
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 |