Preview environment

interface APIVoiceState

export interface APIVoiceState

https://discord.com/developers/docs/resources/voice#voice-state-object

channel_id : Snowflake | null

The channel id this user is connected to

deaf : boolean

Whether this user is deafened by the server

optional
guild_id? : Snowflake

The guild id this voice state is for

optional
member? : APIGuildMember

The guild member this voice state is forSee https://discord.com/developers/docs/resources/guild#guild-member-object

mute : boolean

Whether this user is muted by the server

request_to_speak_timestamp : string | null

The time at which the user requested to speak

self_deaf : boolean

Whether this user is locally deafened

self_mute : boolean

Whether this user is locally muted

optional
self_stream? : boolean

Whether this user is streaming using "Go Live"

self_video : boolean

Whether this user's camera is enabled

session_id : string

The session id for this voice state

suppress : boolean

Whether this user is muted by the current user

user_id : Snowflake

The user id this voice state is for