DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::VoiceConnectInitData Struct Reference

For connecting to a voice-channel. "streamInfo" is used when a socket is created to connect this bot to another bot, for transmitting audio back and forth. More...

#include <Utilities.hpp>

Public Data Members

Snowflake channelId {}
 The channel id to connect to.
 
int32_t currentShard {}
 The current websocket shard, if applicable.
 
Snowflake guildId {}
 The guild id to connect to.
 
bool selfDeaf { false }
 Self-deafen the bot?
 
bool selfMute { false }
 Self-mute the bot?
 
DiscordCoreAPI::StreamInfo streamInfo {}
 The info for the stream-socekt, if applicable.
 
Snowflake userId {}
 This bot's user id.
 

The documentation for this struct was generated from the following file: