diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-10-02 07:46:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 07:46:24 +1100 |
commit | 551d2bf5e6bc4f5c2cf706d6de2716b857c4c7dc (patch) | |
tree | 3cb6c866e7881bf04ea606548cadadca01b2a8e3 | |
parent | Merge branch 'master' of github.com:spacebarchat/server (diff) | |
parent | Generate schema (diff) | |
download | server-551d2bf5e6bc4f5c2cf706d6de2716b857c4c7dc.tar.xz |
Merge pull request #1099 from CyberL1/master
Add mobile_network_type to message create schema
-rw-r--r-- | assets/schemas.json | 6 | ||||
-rw-r--r-- | src/util/schemas/MessageCreateSchema.ts | 1 |
2 files changed, 7 insertions, 0 deletions
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" }, 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; |