Skip to main content

DiscordVoiceState

@discordeno/bot


Documentation / @discordeno/bot / DiscordVoiceState

Interface: DiscordVoiceState

Defined in: packages/types/dist/types/discord.d.ts:906

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.d.ts:912

The channel id this user is connected to


deaf

deaf: boolean

Defined in: packages/types/dist/types/discord.d.ts:918

Whether this user is deafened by the server


guild_id?

optional guild_id: string

Defined in: packages/types/dist/types/discord.d.ts:910

The guild id this voice state is for


member?

optional member: DiscordMemberWithUser

Defined in: packages/types/dist/types/discord.d.ts:916

The guild member this voice state is for


mute

mute: boolean

Defined in: packages/types/dist/types/discord.d.ts:920

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.d.ts:932

The time at which the user requested to speak


self_deaf

self_deaf: boolean

Defined in: packages/types/dist/types/discord.d.ts:922

Whether this user is locally deafened


self_mute

self_mute: boolean

Defined in: packages/types/dist/types/discord.d.ts:924

Whether this user is locally muted


self_stream?

optional self_stream: boolean

Defined in: packages/types/dist/types/discord.d.ts:926

Whether this user is streaming using "Go Live"


self_video

self_video: boolean

Defined in: packages/types/dist/types/discord.d.ts:928

Whether this user's camera is enabled


session_id

session_id: string

Defined in: packages/types/dist/types/discord.d.ts:908

The session id for this voice state


suppress

suppress: boolean

Defined in: packages/types/dist/types/discord.d.ts:930

Whether this user is muted by the current user


user_id

user_id: string

Defined in: packages/types/dist/types/discord.d.ts:914

The user id this voice state is for