summary refs log tree commit diff
diff options
context:
space:
mode:
authorCyberL1 <mateusz.hf18@gmail.com>2023-09-30 23:46:25 +0200
committerCyberL1 <mateusz.hf18@gmail.com>2023-09-30 23:46:25 +0200
commit7ff1ae21f13995d7bf47c86b230ee0d2d58affb0 (patch)
tree0c6290bbdc08118a7b491aa17c97c967b027acb1
parentMerge branch 'master' of github.com:spacebarchat/server (diff)
downloadserver-7ff1ae21f13995d7bf47c86b230ee0d2d58affb0.tar.xz
Add `mobile_network_type` to message create schema
-rw-r--r--src/util/schemas/MessageCreateSchema.ts1
1 files changed, 1 insertions, 0 deletions
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;