DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::voice_connect_init_data 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 {}
 Self-deafen the bot?
 
bool selfMute {}
 Self-mute the bot?
 
stream_info streamInfo {}
 The info for the stream-SOCKET, if applicable.
 
snowflake userId {}
 This bot's user id.
 

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