Skip to content

Class VoiceSettings

🏭 Constructors

constructor

ts
new VoiceSettings(client: Client, props: Record<string, any>): VoiceSettings

Parameters

  • client: Client
  • props: Record<string, any>

Return Type

  • VoiceSettings

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:126

🏷️ Properties

automatic_gain_control

ts
automatic_gain_control: boolean

state of automatic gain control

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:100

client

ts
client: Client

the client instance Inherited from: Base.client

Defined in: packages/discord-rpc/structures/Base.ts:7

deaf

ts
deaf: boolean

state of self-deafen

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:120

echo_cancellation

ts
echo_cancellation: boolean

state of echo cancellation

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:104

input

ts
input: VoiceInput

input settings

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:88

mode

ts
mode: any

voice mode settings

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:96

mute

ts
mute: boolean

state of self-mute

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:124

noise_suppression

ts
noise_suppression: boolean

state of noise suppression

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:108

output

ts
output: VoiceOutput

output settings

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:92

qos

ts
qos: boolean

state of voice quality of service

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:112

silence_warning

ts
silence_warning: boolean

state of silence warning notice

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:116

Released under the MIT License.