DiscordVoiceState
@discordeno/bot • Docs
Documentation / @discordeno/bot / DiscordVoiceState
Interface: DiscordVoiceState
https://discord.com/developers/docs/resources/voice#voice-state-object-voice-state-structure
Properties
channel_id
channel_id:
null
|string
The channel id this user is connected to
Defined in
packages/types/dist/types/discord.d.ts:909
deaf
deaf:
boolean
Whether this user is deafened by the server
Defined in
packages/types/dist/types/discord.d.ts:915
guild_id?
optional
guild_id:string
The guild id this voice state is for
Defined in
packages/types/dist/types/discord.d.ts:907
member?
optional
member:DiscordMemberWithUser
The guild member this voice state is for
Defined in
packages/types/dist/types/discord.d.ts:913
mute
mute:
boolean
Whether this user is muted by the server
Defined in
packages/types/dist/types/discord.d.ts:917
request_to_speak_timestamp
request_to_speak_timestamp:
null
|string
The time at which the user requested to speak
Defined in
packages/types/dist/types/discord.d.ts:929
self_deaf
self_deaf:
boolean
Whether this user is locally deafened
Defined in
packages/types/dist/types/discord.d.ts:919
self_mute
self_mute:
boolean
Whether this user is locally muted
Defined in
packages/types/dist/types/discord.d.ts:921
self_stream?
optional
self_stream:boolean
Whether this user is streaming using "Go Live"
Defined in
packages/types/dist/types/discord.d.ts:923
self_video
self_video:
boolean
Whether this user's camera is enabled
Defined in
packages/types/dist/types/discord.d.ts:925
session_id
session_id:
string
The session id for this voice state
Defined in
packages/types/dist/types/discord.d.ts:905
suppress
suppress:
boolean
Whether this user is muted by the current user
Defined in
packages/types/dist/types/discord.d.ts:927
user_id
user_id:
string
The user id this voice state is for
Defined in
packages/types/dist/types/discord.d.ts:911