diff --git a/deno/payloads/v10/voice.ts b/deno/payloads/v10/voice.ts index e1758600..2474aa8e 100644 --- a/deno/payloads/v10/voice.ts +++ b/deno/payloads/v10/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id?: Snowflake; + channel_id: Snowflake | null; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp?: string; + request_to_speak_timestamp: string | null; } /** diff --git a/deno/payloads/v9/voice.ts b/deno/payloads/v9/voice.ts index e1758600..2474aa8e 100644 --- a/deno/payloads/v9/voice.ts +++ b/deno/payloads/v9/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id?: Snowflake; + channel_id: Snowflake | null; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp?: string; + request_to_speak_timestamp: string | null; } /** diff --git a/payloads/v10/voice.ts b/payloads/v10/voice.ts index 2e3964bb..d2a100a5 100644 --- a/payloads/v10/voice.ts +++ b/payloads/v10/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id?: Snowflake; + channel_id: Snowflake | null; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp?: string; + request_to_speak_timestamp: string | null; } /** diff --git a/payloads/v9/voice.ts b/payloads/v9/voice.ts index 2e3964bb..d2a100a5 100644 --- a/payloads/v9/voice.ts +++ b/payloads/v9/voice.ts @@ -16,7 +16,7 @@ export interface GatewayVoiceState { /** * The channel id this user is connected to */ - channel_id?: Snowflake; + channel_id: Snowflake | null; /** * The user id this voice state is for */ @@ -62,7 +62,7 @@ export interface GatewayVoiceState { /** * The time at which the user requested to speak */ - request_to_speak_timestamp?: string; + request_to_speak_timestamp: string | null; } /**