From 7ff1ae21f13995d7bf47c86b230ee0d2d58affb0 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 30 Sep 2023 23:46:25 +0200 Subject: Add `mobile_network_type` to message create schema --- src/util/schemas/MessageCreateSchema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts index 7e130751..91c0817c 100644 --- a/src/util/schemas/MessageCreateSchema.ts +++ b/src/util/schemas/MessageCreateSchema.ts @@ -26,6 +26,7 @@ type Attachment = { export interface MessageCreateSchema { type?: number; content?: string; + mobile_network_type?: string; nonce?: string; channel_id?: string; tts?: boolean; -- cgit 1.4.1 From 0c04f495e4f3d1cf311e3190bad5e962b6f9cf50 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 30 Sep 2023 23:51:24 +0200 Subject: Generate schema --- assets/schemas.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/schemas.json b/assets/schemas.json index 77df48bd..e893cb99 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -93099,6 +93099,9 @@ "content": { "type": "string" }, + "mobile_network_type": { + "type": "string" + }, "nonce": { "type": "string" }, @@ -97417,6 +97420,9 @@ "content": { "type": "string" }, + "mobile_network_type": { + "type": "string" + }, "nonce": { "type": "string" }, -- cgit 1.4.1