summary refs log tree commit diff
path: root/gateway/src/schema/Identify.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/src/schema/Identify.ts')
-rw-r--r--gateway/src/schema/Identify.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/gateway/src/schema/Identify.ts b/gateway/src/schema/Identify.ts
index 21141321..6aa93ce7 100644
--- a/gateway/src/schema/Identify.ts
+++ b/gateway/src/schema/Identify.ts
@@ -38,10 +38,11 @@ export const IdentifySchema = {
 	$capabilities: Number,
 	$client_state: {
 		$guild_hashes: Object,
-		$highest_last_message_id: String,
+		$highest_last_message_id: String || Number,
 		$read_state_version: Number,
 		$user_guild_settings_version: Number,
 		$user_settings_version: undefined,
+		$useruser_guild_settings_version: Number,
 	},
 	$v: Number,
 	$version: Number,
@@ -80,10 +81,11 @@ export interface IdentifySchema {
 	capabilities?: number;
 	client_state?: {
 		guild_hashes?: any;
-		highest_last_message_id?: string;
+		highest_last_message_id?: string | number;
 		read_state_version?: number;
 		user_guild_settings_version?: number;
 		user_settings_version?: number;
+		useruser_guild_settings_version?: number;
 	};
 	v?: number;
 }