summary refs log tree commit diff
path: root/assets/schemas.json
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-11-06 18:28:32 +0100
committerRory& <root@rory.gay>2026-11-06 18:28:32 +0100
commit96571d975d08641e6a1c4602aafe728b171f8bc3 (patch)
tree5d7dcfda69b273d9ecb5c65487b705b963141899 /assets/schemas.json
parentinclude member roles in interactions (diff)
downloadserver-ts-github/master.tar.xz
allow poll=null in message create HEAD github/master github/HEAD master
Diffstat (limited to 'assets/schemas.json')
-rw-r--r--assets/schemas.json18
1 files changed, 16 insertions, 2 deletions
diff --git a/assets/schemas.json b/assets/schemas.json

index 2530028be..77918b905 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -5714,7 +5714,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "enforce_nonce": { "type": "boolean" @@ -5858,7 +5865,14 @@ ] }, "poll": { - "$ref": "#/definitions/PollCreationSchema" + "anyOf": [ + { + "$ref": "#/definitions/PollCreationSchema" + }, + { + "type": "null" + } + ] }, "flags": { "type": "integer"