feat: Generate Schema Files - 18113073 (no-changelog) (#12927)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Jon
2025-01-30 14:59:04 +00:00
committed by GitHub
parent cdfa22593b
commit 9d027339fd
661 changed files with 76670 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "boolean"
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,41 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
},
"language_code": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name"
]
},
"status": {
"type": "string"
},
"is_anonymous": {
"type": "boolean"
}
},
"required": [
"user",
"status",
"is_anonymous"
]
}

View File

@@ -0,0 +1,47 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
},
"type": {
"type": "string"
},
"active_usernames": {
"type": "array",
"items": {
"type": "string"
}
},
"max_reaction_count": {
"type": "integer"
},
"accent_color_id": {
"type": "integer"
}
},
"required": [
"id",
"type",
"max_reaction_count",
"accent_color_id"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,52 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"language_code": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name"
]
},
"status": {
"type": "string"
},
"is_anonymous": {
"type": "boolean"
}
},
"required": [
"user",
"status"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,35 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"file_path": {
"type": "string"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"file_path"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,11 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,80 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"edit_date": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"message_id",
"chat",
"date",
"edit_date",
"text"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,15 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "boolean"
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,176 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"type": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"first_name",
"type"
]
},
"date": {
"type": "integer"
},
"sticker": {
"type": "object",
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"emoji": {
"type": "string"
},
"set_name": {
"type": "string"
},
"is_animated": {
"type": "boolean"
},
"is_video": {
"type": "boolean"
},
"type": {
"type": "string"
},
"thumbnail": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"thumb": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
}
},
"required": [
"width",
"height",
"emoji",
"is_animated",
"is_video",
"type",
"thumbnail",
"thumb",
"file_id",
"file_unique_id",
"file_size"
]
}
},
"required": [
"message_id",
"from",
"chat",
"date"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,104 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"type": {
"type": "string"
},
"last_name": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"audio": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
}
},
"required": [
"duration",
"file_name",
"mime_type",
"file_id",
"file_unique_id",
"file_size"
]
}
},
"required": [
"message_id",
"from",
"chat",
"date"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,15 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "boolean"
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,101 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"type": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"document": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"mime_type": {
"type": "string"
}
},
"required": [
"file_name",
"file_id",
"file_unique_id",
"file_size"
]
}
},
"required": [
"message_id",
"chat",
"date"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,130 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"photo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
}
},
"caption": {
"type": "string"
},
"caption_entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"length": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"required": [
"offset",
"length",
"type"
]
}
}
},
"required": [
"message_id",
"chat",
"date"
]
}
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,110 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"text": {
"type": "string"
},
"entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"length": {
"type": "integer"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"offset",
"length",
"type"
]
}
},
"link_preview_options": {
"type": "object",
"properties": {
"is_disabled": {
"type": "boolean"
}
},
"required": [
"is_disabled"
]
}
},
"required": [
"message_id",
"from",
"chat",
"date",
"text"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,103 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"type": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"photo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
}
}
},
"required": [
"message_id",
"chat",
"date",
"photo"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,177 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"sticker": {
"type": "object",
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"emoji": {
"type": "string"
},
"set_name": {
"type": "string"
},
"is_animated": {
"type": "boolean"
},
"is_video": {
"type": "boolean"
},
"type": {
"type": "string"
},
"thumbnail": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"thumb": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
}
},
"required": [
"width",
"height",
"is_animated",
"is_video",
"type",
"thumbnail",
"thumb",
"file_id",
"file_unique_id",
"file_size"
]
}
},
"required": [
"message_id",
"from",
"chat",
"date"
]
}
},
"required": [
"ok",
"result"
]
}

View File

@@ -0,0 +1,167 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"caption": {
"type": "string"
},
"video": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"thumbnail": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"thumb": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
}
},
"required": [
"duration",
"width",
"height",
"mime_type",
"file_id",
"file_unique_id",
"file_size"
]
}
},
"required": [
"message_id",
"chat",
"date"
]
}
},
"required": [
"ok",
"result"
]
}