Skip to main content

DiscordVoiceState

Documentation


Documentation / @discordeno/types / DiscordVoiceState

Interface: DiscordVoiceState

Defined in: discord/voice.ts:6

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

Properties

channel_id

channel_id: string | null

Defined in: discord/voice.ts:10

The channel id this user is connected to


deaf

deaf: boolean

Defined in: discord/voice.ts:18

Whether this user is deafened by the server


guild_id?

optional guild_id?: string

Defined in: discord/voice.ts:8

The guild id this voice state is for


member?

optional member?: DiscordMemberWithUser

Defined in: discord/voice.ts:14

The guild member this voice state is for


mute

mute: boolean

Defined in: discord/voice.ts:20

Whether this user is muted by the server


request_to_speak_timestamp

request_to_speak_timestamp: string | null

Defined in: discord/voice.ts:32

The time at which the user requested to speak


self_deaf

self_deaf: boolean

Defined in: discord/voice.ts:22

Whether this user is locally deafened


self_mute

self_mute: boolean

Defined in: discord/voice.ts:24

Whether this user is locally muted


self_stream?

optional self_stream?: boolean

Defined in: discord/voice.ts:26

Whether this user is streaming using "Go Live"


self_video

self_video: boolean

Defined in: discord/voice.ts:28

Whether this user's camera is enabled


session_id

session_id: string

Defined in: discord/voice.ts:16

The session id for this voice state


suppress

suppress: boolean

Defined in: discord/voice.ts:30

Whether this user is muted by the current user


user_id

user_id: string

Defined in: discord/voice.ts:12

The user id this voice state is for