export declare class VoiceAPI
editUserVoiceState) : Promise<never> (
Edits a user's voice state in a guild
See also: https://discord.com/developers/docs/resources/voice#modify-user-voice-state
editVoiceStateguildId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<never> (
guildId: Snowflake
options?: Pick<RequestData, 'signal'>
Edits the voice state for the current user
See also: https://discord.com/developers/docs/resources/voice#modify-current-user-voice-state
getUserVoiceState) : Promise<APIVoiceState> (
Fetches voice state of a user by their id
See also: https://discord.com/developers/docs/resources/voice#get-user-voice-state
getVoiceRegionsoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPIVoiceRegionsResult> (
options?: Pick<RequestData, 'signal'>
Fetches all voice regions
See also: https://discord.com/developers/docs/resources/voice#list-voice-regions
getVoiceStateoptions: Snowflake{ signal }?: Pick<RequestData, 'signal'>) : Promise<APIVoiceState> (
options: Snowflake
{ signal }?: Pick<RequestData, 'signal'>
Fetches the current user's voice state
See also: https://discord.com/developers/docs/resources/voice#get-current-user-voice-state