Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_rpc_deno/deps.ts>GatewayVoiceState

port of @xhayper/discord-rpc to deno
Latest
interface GatewayVoiceState
Re-export
import { type GatewayVoiceState } from "https://deno.land/x/discord_rpc_deno@v1.1.4/deps.ts";

Properties

optional
guild_id: Snowflake

The guild id this voice state is for

channel_id: Snowflake | null

The channel id this user is connected to

user_id: Snowflake

The user id this voice state is for

optional
member: APIGuildMember
session_id: string

The session id for this voice state

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