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