mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 10:22:39 +01:00
add components to message create schema
This commit is contained in:
parent
9c8a80693d
commit
c4701a3299
@ -93564,6 +93564,10 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@ -97883,6 +97887,10 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
@ -54,4 +54,6 @@ export interface MessageCreateSchema {
|
|||||||
**/
|
**/
|
||||||
attachments?: Attachment[];
|
attachments?: Attachment[];
|
||||||
sticker_ids?: string[];
|
sticker_ids?: string[];
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
components?: any[];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user