|
Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <voice.h>
Data Fields | |
| u64snowflake | guild_id |
| u64snowflake | channel_id |
| u64snowflake | user_id |
| struct discord_guild_member * | member |
| char * | session_id |
| bool | deaf |
| bool | mute |
| bool | self_deaf |
| bool | self_mute |
| bool | self_stream |
| bool | self_video |
| bool | suppress |
| u64unix_ms | request_to_speak_timestamp |
Public methods
discord_voice_state_from_json(const char json[], size_t len, struct discord_voice_state *this)discord_voice_state_from_jsmnf(jsmnf *root, const char json[], struct discord_voice_state *this)| u64snowflake discord_voice_state::guild_id |
the guild ID this voice state is for
| u64snowflake discord_voice_state::channel_id |
the channel ID this user is connected to
| u64snowflake discord_voice_state::user_id |
the user ID this voice state is for
| struct discord_guild_member* discord_voice_state::member |
the guild member this voice state is for
| char* discord_voice_state::session_id |
the session ID for this voice state
| bool discord_voice_state::deaf |
whether this user is deafened by the server
| bool discord_voice_state::mute |
whether this user is muted by the server
| bool discord_voice_state::self_deaf |
whether this user is locally deafened
| bool discord_voice_state::self_mute |
whether this user is locally muted
| bool discord_voice_state::self_stream |
whether this user is streaming using "Go Live"
| bool discord_voice_state::self_video |
whether this user is muted by the current user
| bool discord_voice_state::suppress |
whether this user is muted by the current user
| u64unix_ms discord_voice_state::request_to_speak_timestamp |
the time at which the user requested to speak