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

VoiceConnection class - represents the connection to a given voice Channel. More...

#include <VoiceConnection.hpp>

Inherits DiscordCoreInternal::WebSocketSSLShard, and DiscordCoreInternal::DatagramSocketClient.

Public Member Functions

Snowflake getChannelId () noexcept
 Collects the currently connected-to voice Channel's id. More...
 

Member Function Documentation

◆ getChannelId()

Snowflake DiscordCoreAPI::VoiceConnection::getChannelId ( )
noexcept

Collects the currently connected-to voice Channel's id.

Returns
DiscordCoreAPI::Snowflake A Snowflake containing the Channel's id.

Definition at line 143 of file VoiceConnection.cpp.


The documentation for this class was generated from the following files: