DiscordVoiceState
Documentation / @discordeno/bot / DiscordVoiceState
Interface: DiscordVoiceState
Defined in: packages/types/dist/types/discord/voice.d.ts:4
https://discord.com/developers/docs/resources/voice#voice-state-object-voice-state-structure
Properties
channel_id
channel_id:
null
|string
Defined in: packages/types/dist/types/discord/voice.d.ts:10
The channel id this user is connected to
deaf
deaf:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:16
Whether this user is deafened by the server
guild_id?
optional
guild_id:string
Defined in: packages/types/dist/types/discord/voice.d.ts:8
The guild id this voice state is for
member?
optional
member:DiscordMemberWithUser
Defined in: packages/types/dist/types/discord/voice.d.ts:14
The guild member this voice state is for
mute
mute:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:18
Whether this user is muted by the server
request_to_speak_timestamp
request_to_speak_timestamp:
null
|string
Defined in: packages/types/dist/types/discord/voice.d.ts:30
The time at which the user requested to speak
self_deaf
self_deaf:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:20
Whether this user is locally deafened
self_mute
self_mute:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:22
Whether this user is locally muted
self_stream?
optional
self_stream:boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:24
Whether this user is streaming using "Go Live"
self_video
self_video:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:26
Whether this user's camera is enabled
session_id
session_id:
string
Defined in: packages/types/dist/types/discord/voice.d.ts:6
The session id for this voice state
suppress
suppress:
boolean
Defined in: packages/types/dist/types/discord/voice.d.ts:28
Whether this user is muted by the current user
user_id
user_id:
string
Defined in: packages/types/dist/types/discord/voice.d.ts:12
The user id this voice state is for