export type RPCCertifiedDevice<Type extends RPCDeviceType = RPCDeviceType> = Type extends RPCDeviceType.AudioInput ? BaseRPCCertifiedDevice<Type> & { echo_cancellation: boolean; noise_suppression: boolean; automatic_gain_control: boolean; hardware_mute: boolean;} : BaseRPCCertifiedDevice<Type>;
See also: https://discord.com/developers/docs/topics/rpc#setcertifieddevices-device-object
Type Parameters
optionalRPCDeviceType = RPCDeviceType Type? extends
Type extends RPCDeviceType.AudioInput ? BaseRPCCertifiedDevice<Type> & { echo_cancellation: boolean; noise_suppression: boolean; automatic_gain_control: boolean; hardware_mute: boolean;} : BaseRPCCertifiedDevice<Type>