mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-03 09:20:10 +00:00
fix(APIChannel): rtc_region is optional (#118)
BREAKING CHANGE: This corrects the fact that `rtc_region` isn't present on non-voice-like channels
This commit is contained in:
@@ -105,7 +105,7 @@ export interface APIChannel extends APIPartialChannel {
|
||||
*
|
||||
* See https://discord.com/developers/docs/resources/voice#voice-region-object
|
||||
*/
|
||||
rtc_region: string | null;
|
||||
rtc_region?: string | null;
|
||||
/**
|
||||
* The camera video quality mode of the voice channel, `1` when not present
|
||||
*
|
||||
|
||||
@@ -105,7 +105,7 @@ export interface APIChannel extends APIPartialChannel {
|
||||
*
|
||||
* See https://discord.com/developers/docs/resources/voice#voice-region-object
|
||||
*/
|
||||
rtc_region: string | null;
|
||||
rtc_region?: string | null;
|
||||
/**
|
||||
* The camera video quality mode of the voice channel, `1` when not present
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user