Skip to main content
Module

x/discord_api_types/payloads/v8/voice.ts>GatewayVoiceState

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayVoiceState
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type GatewayVoiceState } from "https://deno.land/x/discord_api_types@0.37.11/payloads/v8/voice.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