Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DiscordVoiceState
Re-export
import { type DiscordVoiceState } from "https://deno.land/x/discordeno@17.2.0/template/minimal/deps.ts";

Properties

session_id: string

The session id for this voice state

optional
guild_id: string

The guild id this voice state is for

channel_id: string | null

The channel id this user is connected to

user_id: string

The user id this voice state is for

optional
member: DiscordMemberWithUser

The guild member this voice state is for

deaf: boolean

Whether this user is deafened by the server

mute: boolean

Whether this user is muted by the server

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

suppress: boolean

Whether this user is muted by the current user

request_to_speak_timestamp: string | null

The time at which the user requested to speak