ruvyrias / Exports / SetStateUpdate
Interface: SetStateUpdate
Represents the data structure of a Discord voice state update.
Reference
https://discord.com/developers/docs/resources/voice#voice-state-object
Table of contents
Properties
- channel_id
- deaf
- guild_id
- member
- mute
- request_to_speak_timestamp
- self_deaf
- self_mute
- self_stream
- self_video
- session_id
- suppress
- user_id
Properties
channel_id
• channel_id: string
The ID of the channel.
Defined in
deaf
• deaf: boolean
Whether the user is deafened.
Defined in
guild_id
• Optional
guild_id: string
The ID of the guild.
Defined in
member
• Optional
member: Record
<string
, unknown
>
The member object, if available.
Defined in
mute
• mute: boolean
Whether the user is muted.
Defined in
request_to_speak_timestamp
• Optional
request_to_speak_timestamp: `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}.${number}${number}${number}Z`
The timestamp for the user's request to speak.
Defined in
self_deaf
• self_deaf: boolean
Whether the user is self-deafened.
Defined in
self_mute
• self_mute: boolean
Whether the user is self-muted.
Defined in
self_stream
• Optional
self_stream: boolean
Whether the user is streaming.
Defined in
self_video
• self_video: boolean
Whether the user is using video.
Defined in
session_id
• session_id: string
The session ID.
Defined in
suppress
• suppress: boolean
Whether the user is suppressed.
Defined in
user_id
• user_id: string
The ID of the user.