{
    "openapi": "3.1.0",
    "info": {
        "title": "Telegram Bot API",
        "version": "10.3",
        "description": "> The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.\nTo learn how to create and set up a bot, please consult our [**Introduction to Bots**](https://core.telegram.org/bots) and [**Bot FAQ**](https://core.telegram.org/bots/faq).",
        "termsOfService": "https://telegram.org/tos/bots"
    },
    "externalDocs": {
        "description": "Telegram Bot API",
        "url": "https://core.telegram.org/bots/api"
    },
    "servers": [
        {
            "url": "https://api.telegram.org/bot{token}",
            "variables": {
                "token": {
                    "default": "",
                    "description": "The authentication token of the bot"
                }
            }
        }
    ],
    "security": [],
    "tags": [
        {
            "name": "Bot"
        },
        {
            "name": "Business"
        },
        {
            "name": "Chat members"
        },
        {
            "name": "Editing"
        },
        {
            "name": "Forwarding"
        },
        {
            "name": "Games"
        },
        {
            "name": "Gifts"
        },
        {
            "name": "Inline"
        },
        {
            "name": "Media"
        },
        {
            "name": "Messages"
        },
        {
            "name": "Passport"
        },
        {
            "name": "Payments"
        },
        {
            "name": "Stickers"
        },
        {
            "name": "Updates"
        },
        {
            "name": "Users and chats"
        }
    ],
    "paths": {
        "/getMe": {
            "post": {
                "operationId": "getMe",
                "summary": "A simple method for testing your bot's authentication token.",
                "tags": [
                    "Bot"
                ],
                "description": "A simple method for testing your bot's authentication token. Returns basic information about the bot as [User](https://core.telegram.org/bots/api#user) on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/User"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyCommands": {
            "post": {
                "operationId": "getMyCommands",
                "summary": "Use this method to get the current list of the bot's commands for the given scope and user language.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current list of the bot's commands for the given scope and user language. If commands aren't set, an empty list is returned. Returns an Array of [BotCommand](https://core.telegram.org/bots/api#botcommand) objects on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetMyCommandsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/BotCommandOutput"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyCommands": {
            "post": {
                "operationId": "setMyCommands",
                "summary": "Use this method to change the list of the bot's commands.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the list of the bot's commands. See [this manual](https://core.telegram.org/bots/features#commands) for more details about bot commands. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyCommandsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteMyCommands": {
            "post": {
                "operationId": "deleteMyCommands",
                "summary": "Use this method to delete the list of the bot's commands for the given scope and user language.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, [higher level commands](https://core.telegram.org/bots/api#determining-list-of-commands) will be shown to affected users. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteMyCommandsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyDefaultAdministratorRights": {
            "post": {
                "operationId": "getMyDefaultAdministratorRights",
                "summary": "Use this method to get the current default administrator rights of the bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current default administrator rights of the bot. Returns [ChatAdministratorRights](https://core.telegram.org/bots/api#chatadministratorrights) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetMyDefaultAdministratorRightsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatAdministratorRightsOutput"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyDefaultAdministratorRights": {
            "post": {
                "operationId": "setMyDefaultAdministratorRights",
                "summary": "Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are free to modify the list before adding the bot. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyDefaultAdministratorRightsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyName": {
            "post": {
                "operationId": "getMyName",
                "summary": "Use this method to get the current bot name for the given user language.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current bot name for the given user language. Returns [BotName](https://core.telegram.org/bots/api#botname) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetMyNameParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/BotName"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyName": {
            "post": {
                "operationId": "setMyName",
                "summary": "Use this method to change the bot's name.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the bot's name. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyNameParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyProfilePhoto": {
            "post": {
                "operationId": "setMyProfilePhoto",
                "summary": "Changes the profile photo of the bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Changes the profile photo of the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyProfilePhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/removeMyProfilePhoto": {
            "post": {
                "operationId": "removeMyProfilePhoto",
                "summary": "Removes the profile photo of the bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Removes the profile photo of the bot. Returns *True* on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyDescription": {
            "post": {
                "operationId": "getMyDescription",
                "summary": "Use this method to get the current bot description for the given user language.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current bot description for the given user language. Returns [BotDescription](https://core.telegram.org/bots/api#botdescription) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetMyDescriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/BotDescription"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyDescription": {
            "post": {
                "operationId": "setMyDescription",
                "summary": "Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyDescriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyShortDescription": {
            "post": {
                "operationId": "getMyShortDescription",
                "summary": "Use this method to get the current bot short description for the given user language.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current bot short description for the given user language. Returns [BotShortDescription](https://core.telegram.org/bots/api#botshortdescription) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetMyShortDescriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/BotShortDescription"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMyShortDescription": {
            "post": {
                "operationId": "setMyShortDescription",
                "summary": "Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMyShortDescriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChatMenuButton": {
            "post": {
                "operationId": "getChatMenuButton",
                "summary": "Use this method to get the current value of the bot's menu button in a private chat, or the default menu button.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns [MenuButton](https://core.telegram.org/bots/api#menubutton) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatMenuButtonParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/MenuButton"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatMenuButton": {
            "post": {
                "operationId": "setChatMenuButton",
                "summary": "Use this method to change the bot's menu button in a private chat, or the default menu button.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the bot's menu button in a private chat, or the default menu button. Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatMenuButtonParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getManagedBotToken": {
            "post": {
                "operationId": "getManagedBotToken",
                "summary": "Use this method to get the token of a managed bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the token of a managed bot. Returns the token as *String* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetManagedBotTokenParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getManagedBotAccessSettings": {
            "post": {
                "operationId": "getManagedBotAccessSettings",
                "summary": "Use this method to get the access settings of a managed bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to get the access settings of a managed bot. Returns [BotAccessSettings](https://core.telegram.org/bots/api#botaccesssettings) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetManagedBotAccessSettingsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/BotAccessSettings"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setManagedBotAccessSettings": {
            "post": {
                "operationId": "setManagedBotAccessSettings",
                "summary": "Use this method to change the access settings of a managed bot.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to change the access settings of a managed bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetManagedBotAccessSettingsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/replaceManagedBotToken": {
            "post": {
                "operationId": "replaceManagedBotToken",
                "summary": "Use this method to revoke the current token of a managed bot and generate a new one.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as *String* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceManagedBotTokenParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/postStory": {
            "post": {
                "operationId": "postStory",
                "summary": "Posts a story on behalf of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Posts a story on behalf of a managed business account. Requires the *can_manage_stories* business bot right. Returns [Story](https://core.telegram.org/bots/api#story) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostStoryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Story"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/repostStory": {
            "post": {
                "operationId": "repostStory",
                "summary": "Reposts a story on behalf of a business account from another business account.",
                "tags": [
                    "Business"
                ],
                "description": "Reposts a story on behalf of a business account from another business account. Both business accounts must be managed by the same bot, and the story on the source account must have been posted (or reposted) by the bot. Requires the *can_manage_stories* business bot right for both business accounts. Returns [Story](https://core.telegram.org/bots/api#story) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RepostStoryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Story"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editStory": {
            "post": {
                "operationId": "editStory",
                "summary": "Edits a story previously posted by the bot on behalf of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Edits a story previously posted by the bot on behalf of a managed business account. Requires the *can_manage_stories* business bot right. Returns [Story](https://core.telegram.org/bots/api#story) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditStoryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Story"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteStory": {
            "post": {
                "operationId": "deleteStory",
                "summary": "Deletes a story previously posted by the bot on behalf of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Deletes a story previously posted by the bot on behalf of a managed business account. Requires the *can_manage_stories* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteStoryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getBusinessConnection": {
            "post": {
                "operationId": "getBusinessConnection",
                "summary": "Use this method to get information about the connection of the bot with a business account.",
                "tags": [
                    "Business"
                ],
                "description": "Use this method to get information about the connection of the bot with a business account. Returns [BusinessConnection](https://core.telegram.org/bots/api#businessconnection) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetBusinessConnectionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/BusinessConnection"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/readBusinessMessage": {
            "post": {
                "operationId": "readBusinessMessage",
                "summary": "Marks incoming message as read on behalf of a business account.",
                "tags": [
                    "Business"
                ],
                "description": "Marks incoming message as read on behalf of a business account. Requires the *can_read_messages* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReadBusinessMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteBusinessMessages": {
            "post": {
                "operationId": "deleteBusinessMessages",
                "summary": "Delete messages on behalf of a business account.",
                "tags": [
                    "Business"
                ],
                "description": "Delete messages on behalf of a business account. Requires the *can_delete_sent_messages* business bot right to delete messages sent by the bot itself, or the *can_delete_all_messages* business bot right to delete any message. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteBusinessMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setBusinessAccountName": {
            "post": {
                "operationId": "setBusinessAccountName",
                "summary": "Changes the first and last name of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Changes the first and last name of a managed business account. Requires the *can_change_name* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetBusinessAccountNameParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setBusinessAccountUsername": {
            "post": {
                "operationId": "setBusinessAccountUsername",
                "summary": "Changes the username of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Changes the username of a managed business account. Requires the *can_change_username* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetBusinessAccountUsernameParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setBusinessAccountBio": {
            "post": {
                "operationId": "setBusinessAccountBio",
                "summary": "Changes the bio of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Changes the bio of a managed business account. Requires the *can_change_bio* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetBusinessAccountBioParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setBusinessAccountProfilePhoto": {
            "post": {
                "operationId": "setBusinessAccountProfilePhoto",
                "summary": "Changes the profile photo of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Changes the profile photo of a managed business account. Requires the *can_edit_profile_photo* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetBusinessAccountProfilePhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/removeBusinessAccountProfilePhoto": {
            "post": {
                "operationId": "removeBusinessAccountProfilePhoto",
                "summary": "Removes the current profile photo of a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Removes the current profile photo of a managed business account. Requires the *can_edit_profile_photo* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RemoveBusinessAccountProfilePhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setBusinessAccountGiftSettings": {
            "post": {
                "operationId": "setBusinessAccountGiftSettings",
                "summary": "Changes the privacy settings pertaining to incoming gifts in a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Changes the privacy settings pertaining to incoming gifts in a managed business account. Requires the *can_change_gift_settings* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetBusinessAccountGiftSettingsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getBusinessAccountStarBalance": {
            "post": {
                "operationId": "getBusinessAccountStarBalance",
                "summary": "Returns the amount of Telegram Stars owned by a managed business account.",
                "tags": [
                    "Business"
                ],
                "description": "Returns the amount of Telegram Stars owned by a managed business account. Requires the *can_view_gifts_and_stars* business bot right. Returns [StarAmount](https://core.telegram.org/bots/api#staramount) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetBusinessAccountStarBalanceParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/StarAmount"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/transferBusinessAccountStars": {
            "post": {
                "operationId": "transferBusinessAccountStars",
                "summary": "Transfers Telegram Stars from the business account balance to the bot's balance.",
                "tags": [
                    "Business"
                ],
                "description": "Transfers Telegram Stars from the business account balance to the bot's balance. Requires the *can_transfer_stars* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TransferBusinessAccountStarsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChatMember": {
            "post": {
                "operationId": "getChatMember",
                "summary": "Use this method to get information about a member of a chat.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns [ChatMember](https://core.telegram.org/bots/api#chatmember) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatMemberParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatMember"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChatAdministrators": {
            "post": {
                "operationId": "getChatAdministrators",
                "summary": "Use this method to get a list of administrators in a chat.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to get a list of administrators in a chat. Returns an Array of [ChatMember](https://core.telegram.org/bots/api#chatmember) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatAdministratorsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ChatMember"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChatMemberCount": {
            "post": {
                "operationId": "getChatMemberCount",
                "summary": "Use this method to get the number of members in a chat.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to get the number of members in a chat. Returns *Integer* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatMemberCountParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "integer"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/leaveChat": {
            "post": {
                "operationId": "leaveChat",
                "summary": "Use this method for your bot to leave a group, supergroup or channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method for your bot to leave a group, supergroup or channel. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LeaveChatParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/promoteChatMember": {
            "post": {
                "operationId": "promoteChatMember",
                "summary": "Use this method to promote or demote a user in a supergroup or a channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass *False* for all boolean parameters to demote a user. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PromoteChatMemberParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatAdministratorCustomTitle": {
            "post": {
                "operationId": "setChatAdministratorCustomTitle",
                "summary": "Use this method to set a custom title for an administrator in a supergroup promoted by the bot.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatAdministratorCustomTitleParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatMemberTag": {
            "post": {
                "operationId": "setChatMemberTag",
                "summary": "Use this method to set a tag for a regular member in a group or a supergroup.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to set a tag for a regular member in a group or a supergroup. The bot must be an administrator in the chat for this to work and must have the *can_manage_tags* administrator right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatMemberTagParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/banChatMember": {
            "post": {
                "operationId": "banChatMember",
                "summary": "Use this method to ban a user in a group, a supergroup or a channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless [unbanned](https://core.telegram.org/bots/api#unbanchatmember) first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/BanChatMemberParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/restrictChatMember": {
            "post": {
                "operationId": "restrictChatMember",
                "summary": "Use this method to restrict a user in a supergroup.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass *True* for all permissions to lift restrictions from a user. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RestrictChatMemberParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unbanChatMember": {
            "post": {
                "operationId": "unbanChatMember",
                "summary": "Use this method to unban a previously banned user in a supergroup or channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to unban a previously banned user in a supergroup or channel. The user will **not** return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be **removed** from the chat. If you don't want this, use the parameter *only_if_banned*. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnbanChatMemberParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/banChatSenderChat": {
            "post": {
                "operationId": "banChatSenderChat",
                "summary": "Use this method to ban a channel chat in a supergroup or a channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to ban a channel chat in a supergroup or a channel. Until the chat is [unbanned](https://core.telegram.org/bots/api#unbanchatsenderchat), the owner of the banned chat won't be able to send messages on behalf of **any of their channels**. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/BanChatSenderChatParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unbanChatSenderChat": {
            "post": {
                "operationId": "unbanChatSenderChat",
                "summary": "Use this method to unban a previously banned channel chat in a supergroup or channel.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnbanChatSenderChatParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/approveChatJoinRequest": {
            "post": {
                "operationId": "approveChatJoinRequest",
                "summary": "Use this method to approve a chat join request.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the *can_invite_users* administrator right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApproveChatJoinRequestParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/declineChatJoinRequest": {
            "post": {
                "operationId": "declineChatJoinRequest",
                "summary": "Use this method to decline a chat join request.",
                "tags": [
                    "Chat members"
                ],
                "description": "Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the *can_invite_users* administrator right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeclineChatJoinRequestParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/stopPoll": {
            "post": {
                "operationId": "stopPoll",
                "summary": "Use this method to stop a poll which was sent by the bot.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to stop a poll which was sent by the bot. Returns [Poll](https://core.telegram.org/bots/api#poll) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StopPollParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Poll"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageText": {
            "post": {
                "operationId": "editMessageText",
                "summary": "Use this method to edit text, rich and game messages.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit text, rich and [game](https://core.telegram.org/bots/api#games) messages. *True* is returned for inline messages. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageTextParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageLiveLocation": {
            "post": {
                "operationId": "editMessageLiveLocation",
                "summary": "Use this method to edit live location messages.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit live location messages. A location can be edited until its *live_period* expires or editing is explicitly disabled by a call to [stopMessageLiveLocation](https://core.telegram.org/bots/api#stopmessagelivelocation). *True* is returned for inline messages. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageLiveLocationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/stopMessageLiveLocation": {
            "post": {
                "operationId": "stopMessageLiveLocation",
                "summary": "Use this method to stop updating a live location message before *live_period* expires.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to stop updating a live location message before *live_period* expires. *True* is returned for inline messages. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StopMessageLiveLocationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageMedia": {
            "post": {
                "operationId": "editMessageMedia",
                "summary": "Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit animation, audio, document, live photo, photo, or video messages, or to replace a text or a rich message with a media. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo, a live photo, or a video otherwise. When an inline message is edited, a new file can't be uploaded; use a previously uploaded file via its file_id or specify a URL. *True* is returned for inline messages. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageMediaParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageCaption": {
            "post": {
                "operationId": "editMessageCaption",
                "summary": "Use this method to edit captions of messages.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit captions of messages. *True* is returned for inline messages. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageCaptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageChecklist": {
            "post": {
                "operationId": "editMessageChecklist",
                "summary": "Use this method to edit a checklist on behalf of a connected business account.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit a checklist on behalf of a connected business account. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageChecklistParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editMessageReplyMarkup": {
            "post": {
                "operationId": "editMessageReplyMarkup",
                "summary": "Use this method to edit only the reply markup of messages.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit only the reply markup of messages. *True* is returned for inline messages. Note that business messages that were not sent by the bot and do not contain an inline keyboard can only be edited within **48 hours** from the time they were sent. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditMessageReplyMarkupParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editEphemeralMessageText": {
            "post": {
                "operationId": "editEphemeralMessageText",
                "summary": "Use this method to edit an ephemeral text or rich message.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit an ephemeral text or rich message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditEphemeralMessageTextParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editEphemeralMessageMedia": {
            "post": {
                "operationId": "editEphemeralMessageMedia",
                "summary": "Use this method to edit the media of an ephemeral message.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit the media of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditEphemeralMessageMediaParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editEphemeralMessageCaption": {
            "post": {
                "operationId": "editEphemeralMessageCaption",
                "summary": "Use this method to edit the caption of an ephemeral message.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit the caption of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditEphemeralMessageCaptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editEphemeralMessageReplyMarkup": {
            "post": {
                "operationId": "editEphemeralMessageReplyMarkup",
                "summary": "Use this method to edit only the reply markup of an ephemeral message.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to edit only the reply markup of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditEphemeralMessageReplyMarkupParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteMessage": {
            "post": {
                "operationId": "deleteMessage",
                "summary": "Use this method to delete a message, including service messages, with the following limitations:\n- A message can only be deleted if it was sent less than 48 hours ago.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to delete a message, including service messages, with the following limitations:\n- A message can only be deleted if it was sent less than 48 hours ago.\n- Service messages about a supergroup, channel, or forum topic creation can't be deleted.\n- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.\n- Bots can delete outgoing messages in private chats, groups, and supergroups.\n- Bots can delete incoming messages in private chats.\n- Bots granted *can_post_messages* permissions can delete outgoing messages in channels.\n- If the bot is an administrator of a group, it can delete any message there.\n- If the bot has *can_delete_messages* administrator right in a supergroup or a channel, it can delete any message there.\n- If the bot has *can_manage_direct_messages* administrator right in a channel, it can delete any message in the corresponding direct messages chat.\nReturns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteMessages": {
            "post": {
                "operationId": "deleteMessages",
                "summary": "Use this method to delete multiple messages simultaneously.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteEphemeralMessage": {
            "post": {
                "operationId": "deleteEphemeralMessage",
                "summary": "Use this method to delete an ephemeral message.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to delete an ephemeral message. Note that it is not guaranteed that the user will receive the message deletion event, especially if they are offline. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteEphemeralMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteMessageReaction": {
            "post": {
                "operationId": "deleteMessageReaction",
                "summary": "Use this method to remove a reaction from a message in a group or a supergroup chat.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to remove a reaction from a message in a group or a supergroup chat. The bot must have the 'can_delete_messages' administrator right in the chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteMessageReactionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteAllMessageReactions": {
            "post": {
                "operationId": "deleteAllMessageReactions",
                "summary": "Use this method to remove up to 10000 recent reactions in a group or a supergroup chat added by a given user or chat.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to remove up to 10000 recent reactions in a group or a supergroup chat added by a given user or chat. The bot must have the 'can_delete_messages' administrator right in the chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteAllMessageReactionsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/approveSuggestedPost": {
            "post": {
                "operationId": "approveSuggestedPost",
                "summary": "Use this method to approve a suggested post in a direct messages chat.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to approve a suggested post in a direct messages chat. The bot must have the 'can_post_messages' administrator right in the corresponding channel chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ApproveSuggestedPostParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/declineSuggestedPost": {
            "post": {
                "operationId": "declineSuggestedPost",
                "summary": "Use this method to decline a suggested post in a direct messages chat.",
                "tags": [
                    "Editing"
                ],
                "description": "Use this method to decline a suggested post in a direct messages chat. The bot must have the 'can_manage_direct_messages' administrator right in the corresponding channel chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeclineSuggestedPostParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/copyMessage": {
            "post": {
                "operationId": "copyMessage",
                "summary": "Use this method to copy messages of any kind.",
                "tags": [
                    "Forwarding"
                ],
                "description": "Use this method to copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz [poll](https://core.telegram.org/bots/api#poll) can be copied only if the value of the field *correct_option_ids* is known to the bot. The method is analogous to the method [forwardMessage](https://core.telegram.org/bots/api#forwardmessage), but the copied message doesn't have a link to the original message. The sent [Message](https://core.telegram.org/bots/api#message) is returned only for messages sent on behalf of a business account. Returns [MessageId](https://core.telegram.org/bots/api#messageid) or [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CopyMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/MessageId"
                                                },
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/copyMessages": {
            "post": {
                "operationId": "copyMessages",
                "summary": "Use this method to copy messages of any kind.",
                "tags": [
                    "Forwarding"
                ],
                "description": "Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz [poll](https://core.telegram.org/bots/api#poll) can be copied only if the value of the field *correct_option_ids* is known to the bot. The method is analogous to the method [forwardMessages](https://core.telegram.org/bots/api#forwardmessages), but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. Returns the identifiers of the sent messages as an Array of [MessageId](https://core.telegram.org/bots/api#messageid) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CopyMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/MessageId"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/forwardMessage": {
            "post": {
                "operationId": "forwardMessage",
                "summary": "Use this method to forward messages of any kind.",
                "tags": [
                    "Forwarding"
                ],
                "description": "Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ForwardMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/forwardMessages": {
            "post": {
                "operationId": "forwardMessages",
                "summary": "Use this method to forward multiple messages of any kind.",
                "tags": [
                    "Forwarding"
                ],
                "description": "Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. Returns the identifiers of the sent messages as an Array of [MessageId](https://core.telegram.org/bots/api#messageid) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ForwardMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/MessageId"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendGame": {
            "post": {
                "operationId": "sendGame",
                "summary": "Use this method to send a game.",
                "tags": [
                    "Games"
                ],
                "description": "Use this method to send a game. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendGameParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setGameScore": {
            "post": {
                "operationId": "setGameScore",
                "summary": "Use this method to set the score of the specified user in a game message.",
                "tags": [
                    "Games"
                ],
                "description": "Use this method to set the score of the specified user in a game message. *True* is returned for inline messages. Returns an error, if the new score is not greater than the user's current score in the chat and *force* is *False*. Returns [Message](https://core.telegram.org/bots/api#message) or *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetGameScoreParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "oneOf": [
                                                {
                                                    "$ref": "#/components/schemas/Message"
                                                },
                                                {
                                                    "type": "boolean",
                                                    "const": true
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getGameHighScores": {
            "post": {
                "operationId": "getGameHighScores",
                "summary": "Use this method to get data for high score tables.",
                "tags": [
                    "Games"
                ],
                "description": "Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of [GameHighScore](https://core.telegram.org/bots/api#gamehighscore) objects on success.\n\n>This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and their neighbors are not among them. Please note that this behavior is subject to change.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetGameHighScoresParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/GameHighScore"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getAvailableGifts": {
            "post": {
                "operationId": "getAvailableGifts",
                "summary": "Returns the list of gifts that can be sent by the bot to users and channel chats.",
                "tags": [
                    "Gifts"
                ],
                "description": "Returns the list of gifts that can be sent by the bot to users and channel chats. Returns [Gifts](https://core.telegram.org/bots/api#gifts) on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Gifts"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendGift": {
            "post": {
                "operationId": "sendGift",
                "summary": "Sends a gift to the given user or channel chat.",
                "tags": [
                    "Gifts"
                ],
                "description": "Sends a gift to the given user or channel chat. The gift can't be converted to Telegram Stars by the receiver. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendGiftParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/giftPremiumSubscription": {
            "post": {
                "operationId": "giftPremiumSubscription",
                "summary": "Gifts a Telegram Premium subscription to the given user.",
                "tags": [
                    "Gifts"
                ],
                "description": "Gifts a Telegram Premium subscription to the given user. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GiftPremiumSubscriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getBusinessAccountGifts": {
            "post": {
                "operationId": "getBusinessAccountGifts",
                "summary": "Returns the gifts received and owned by a managed business account.",
                "tags": [
                    "Gifts"
                ],
                "description": "Returns the gifts received and owned by a managed business account. Requires the *can_view_gifts_and_stars* business bot right. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetBusinessAccountGiftsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/OwnedGifts"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUserGifts": {
            "post": {
                "operationId": "getUserGifts",
                "summary": "Returns the gifts owned and hosted by a user.",
                "tags": [
                    "Gifts"
                ],
                "description": "Returns the gifts owned and hosted by a user. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUserGiftsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/OwnedGifts"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChatGifts": {
            "post": {
                "operationId": "getChatGifts",
                "summary": "Returns the gifts owned by a chat.",
                "tags": [
                    "Gifts"
                ],
                "description": "Returns the gifts owned by a chat. Returns [OwnedGifts](https://core.telegram.org/bots/api#ownedgifts) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatGiftsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/OwnedGifts"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/convertGiftToStars": {
            "post": {
                "operationId": "convertGiftToStars",
                "summary": "Converts a given regular gift to Telegram Stars.",
                "tags": [
                    "Gifts"
                ],
                "description": "Converts a given regular gift to Telegram Stars. Requires the *can_convert_gifts_to_stars* business bot right. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ConvertGiftToStarsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/upgradeGift": {
            "post": {
                "operationId": "upgradeGift",
                "summary": "Upgrades a given regular gift to a unique gift.",
                "tags": [
                    "Gifts"
                ],
                "description": "Upgrades a given regular gift to a unique gift. Requires the *can_transfer_and_upgrade_gifts* business bot right. Additionally requires the *can_transfer_stars* business bot right if the upgrade is paid. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpgradeGiftParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/transferGift": {
            "post": {
                "operationId": "transferGift",
                "summary": "Transfers an owned unique gift to another user.",
                "tags": [
                    "Gifts"
                ],
                "description": "Transfers an owned unique gift to another user. Requires the *can_transfer_and_upgrade_gifts* business bot right. Requires *can_transfer_stars* business bot right if the transfer is paid. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TransferGiftParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerWebAppQuery": {
            "post": {
                "operationId": "answerWebAppQuery",
                "summary": "Use this method to set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to set the result of an interaction with a [Web App](https://core.telegram.org/bots/webapps) and send a corresponding message on behalf of the user to the chat from which the query originated. Returns [SentWebAppMessage](https://core.telegram.org/bots/api#sentwebappmessage) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerWebAppQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/SentWebAppMessage"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerGuestQuery": {
            "post": {
                "operationId": "answerGuestQuery",
                "summary": "Use this method to reply to a received guest message.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to reply to a received guest message. Returns [SentGuestMessage](https://core.telegram.org/bots/api#sentguestmessage) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerGuestQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/SentGuestMessage"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerInlineQuery": {
            "post": {
                "operationId": "answerInlineQuery",
                "summary": "Use this method to send answers to an inline query.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to send answers to an inline query.\nNo more than **50** results per query are allowed. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerInlineQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerChatJoinRequestQuery": {
            "post": {
                "operationId": "answerChatJoinRequestQuery",
                "summary": "Use this method to process a received chat join request query.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to process a received chat join request query. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerChatJoinRequestQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendChatJoinRequestWebApp": {
            "post": {
                "operationId": "sendChatJoinRequestWebApp",
                "summary": "Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to process a received chat join request query by showing a Mini App to the user before deciding the outcome. Call [answerChatJoinRequestQuery](https://core.telegram.org/bots/api#answerchatjoinrequestquery) to resolve the join request query based on the user interaction with the Mini App. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendChatJoinRequestWebAppParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/savePreparedInlineMessage": {
            "post": {
                "operationId": "savePreparedInlineMessage",
                "summary": "Stores a message that can be sent by a user of a Mini App.",
                "tags": [
                    "Inline"
                ],
                "description": "Stores a message that can be sent by a user of a Mini App. Returns [PreparedInlineMessage](https://core.telegram.org/bots/api#preparedinlinemessage) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePreparedInlineMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/PreparedInlineMessage"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/savePreparedKeyboardButton": {
            "post": {
                "operationId": "savePreparedKeyboardButton",
                "summary": "Stores a keyboard button that can be used by a user within a Mini App.",
                "tags": [
                    "Inline"
                ],
                "description": "Stores a keyboard button that can be used by a user within a Mini App. Returns [PreparedKeyboardButton](https://core.telegram.org/bots/api#preparedkeyboardbutton) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavePreparedKeyboardButtonParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/PreparedKeyboardButton"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerCallbackQuery": {
            "post": {
                "operationId": "answerCallbackQuery",
                "summary": "Use this method to send answers to callback queries sent from inline keyboards.",
                "tags": [
                    "Inline"
                ],
                "description": "Use this method to send answers to callback queries sent from [inline keyboards](https://core.telegram.org/bots/features#inline-keyboards). The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. Returns *True* on success.\n\n> Alternatively, the user can be redirected to the specified Game URL. For this option to work, you must first create a game for your bot via [@BotFather](https://t.me/botfather) and accept the terms. Otherwise, you may use links like `t.me/your_bot?start=XXXX` that open your bot with a parameter.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerCallbackQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendAnimation": {
            "post": {
                "operationId": "sendAnimation",
                "summary": "Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendAnimationParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendAnimationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendAudio": {
            "post": {
                "operationId": "sendAudio",
                "summary": "Use this method to send audio files, if you want Telegram clients to display them in the music player.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future. Returns [Message](https://core.telegram.org/bots/api#message) on success.\n\nFor sending voice messages, use the [sendVoice](https://core.telegram.org/bots/api#sendvoice) method instead.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendAudioParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendAudioParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendDocument": {
            "post": {
                "operationId": "sendDocument",
                "summary": "Use this method to send general files.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send general files. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendDocumentParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendDocumentParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendLivePhoto": {
            "post": {
                "operationId": "sendLivePhoto",
                "summary": "Use this method to send live photos.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send live photos. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendLivePhotoParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendLivePhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendPhoto": {
            "post": {
                "operationId": "sendPhoto",
                "summary": "Use this method to send photos.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send photos. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendPhotoParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendPhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendVideo": {
            "post": {
                "operationId": "sendVideo",
                "summary": "Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as Document).",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send video files, Telegram clients support MPEG4 videos (other formats may be sent as [Document](https://core.telegram.org/bots/api#document)). Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVideoParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVideoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendVideoNote": {
            "post": {
                "operationId": "sendVideoNote",
                "summary": "Use this method to send a rounded square MPEG4 video of up to 1 minute long.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send a rounded square MPEG4 video of up to 1 minute long. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVideoNoteParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVideoNoteParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendVoice": {
            "post": {
                "operationId": "sendVoice",
                "summary": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format (other formats may be sent as [Audio](https://core.telegram.org/bots/api#audio) or [Document](https://core.telegram.org/bots/api#document)). Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVoiceParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVoiceParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendPaidMedia": {
            "post": {
                "operationId": "sendPaidMedia",
                "summary": "Use this method to send paid media.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send paid media. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendPaidMediaParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendMediaGroup": {
            "post": {
                "operationId": "sendMediaGroup",
                "summary": "Use this method to send a group of photos, live photos, videos, documents or audios as an album.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to send a group of photos, live photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns an Array of [Message](https://core.telegram.org/bots/api#message) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendMediaGroupParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Message"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getFile": {
            "post": {
                "operationId": "getFile",
                "summary": "Use this method to get basic information about a file and prepare it for downloading.",
                "tags": [
                    "Media"
                ],
                "description": "Use this method to get basic information about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. The file can then be downloaded via the link `https://api.telegram.org/file/bot<token>/<file_path>`, where `<file_path>` is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling [getFile](https://core.telegram.org/bots/api#getfile) again. Returns [File](https://core.telegram.org/bots/api#file) on success.\n\n**Note:** This function may not preserve the original file name and MIME type. You should save the file's MIME type and name (if available) when the File object is received.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetFileParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/File"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendMessage": {
            "post": {
                "operationId": "sendMessage",
                "summary": "Use this method to send text messages.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send text messages. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendRichMessage": {
            "post": {
                "operationId": "sendRichMessage",
                "summary": "Use this method to send rich messages.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send rich messages. If the message contains a block with a media element, then the bot must have the right to send the media to the chat. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendRichMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendDice": {
            "post": {
                "operationId": "sendDice",
                "summary": "Use this method to send an animated emoji that will display a random value.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send an animated emoji that will display a random value. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendDiceParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendLocation": {
            "post": {
                "operationId": "sendLocation",
                "summary": "Use this method to send point on the map.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send point on the map. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendLocationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendVenue": {
            "post": {
                "operationId": "sendVenue",
                "summary": "Use this method to send information about a venue.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send information about a venue. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendVenueParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendContact": {
            "post": {
                "operationId": "sendContact",
                "summary": "Use this method to send phone contacts.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send phone contacts. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendContactParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendPoll": {
            "post": {
                "operationId": "sendPoll",
                "summary": "Use this method to send a native poll.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send a native poll. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendPollParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendChecklist": {
            "post": {
                "operationId": "sendChecklist",
                "summary": "Use this method to send a checklist on behalf of a connected business account.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to send a checklist on behalf of a connected business account. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendChecklistParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendChatAction": {
            "post": {
                "operationId": "sendChatAction",
                "summary": "Use this method when you need to tell the user that something is happening on the bot's side.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns *True* on success.\n\n>Example: The [ImageBot](https://t.me/imagebot) needs some time to process a request and upload the image. Instead of sending a text message along the lines of \"Retrieving image, please wait...\", the bot may use [sendChatAction](https://core.telegram.org/bots/api#sendchataction) with *action* = *upload_photo*. The user will see a \"sending photo\" status for the bot.\n\nWe only recommend using this method when a response from the bot will take a **noticeable** amount of time to arrive.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendChatActionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendMessageDraft": {
            "post": {
                "operationId": "sendMessageDraft",
                "summary": "Use this method to stream a partial message to a user while the message is being generated.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to stream a partial message to a user while the message is being generated. Note that the streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, you **must** call [sendMessage](https://core.telegram.org/bots/api#sendmessage) with the complete message to persist it in the user's chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendMessageDraftParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendRichMessageDraft": {
            "post": {
                "operationId": "sendRichMessageDraft",
                "summary": "Use this method to stream a partial rich message to a user while the message is being generated.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to stream a partial rich message to a user while the message is being generated. Note that the streamed draft is ephemeral and acts as a temporary 30-second preview - once the output is finalized, you **must** call [sendRichMessage](https://core.telegram.org/bots/api#sendrichmessage) with the complete message to persist it in the user's chat. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendRichMessageDraftParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setMessageReaction": {
            "post": {
                "operationId": "setMessageReaction",
                "summary": "Use this method to change the chosen reactions on a message.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to change the chosen reactions on a message. Service messages of some types can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can't use paid reactions. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetMessageReactionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUserPersonalChatMessages": {
            "post": {
                "operationId": "getUserPersonalChatMessages",
                "summary": "Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user.",
                "tags": [
                    "Messages"
                ],
                "description": "Use this method to get the last messages from the personal chat (i.e., the chat currently added to their profile) of a given user. Returns an Array of [Message](https://core.telegram.org/bots/api#message) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUserPersonalChatMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Message"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setPassportDataErrors": {
            "post": {
                "operationId": "setPassportDataErrors",
                "summary": "Informs a user that some of the Telegram Passport elements they provided contains errors.",
                "tags": [
                    "Passport"
                ],
                "description": "Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns *True* on success.\n\nUse this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetPassportDataErrorsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendInvoice": {
            "post": {
                "operationId": "sendInvoice",
                "summary": "Use this method to send invoices.",
                "tags": [
                    "Payments"
                ],
                "description": "Use this method to send invoices. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendInvoiceParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/createInvoiceLink": {
            "post": {
                "operationId": "createInvoiceLink",
                "summary": "Use this method to create a link for an invoice.",
                "tags": [
                    "Payments"
                ],
                "description": "Use this method to create a link for an invoice. Returns the created invoice link as *String* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateInvoiceLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getMyStarBalance": {
            "post": {
                "operationId": "getMyStarBalance",
                "summary": "A method to get the current Telegram Stars balance of the bot.",
                "tags": [
                    "Payments"
                ],
                "description": "A method to get the current Telegram Stars balance of the bot. Returns [StarAmount](https://core.telegram.org/bots/api#staramount) on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/StarAmount"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getStarTransactions": {
            "post": {
                "operationId": "getStarTransactions",
                "summary": "Returns the bot's Telegram Star transactions in chronological order.",
                "tags": [
                    "Payments"
                ],
                "description": "Returns the bot's Telegram Star transactions in chronological order. Returns [StarTransactions](https://core.telegram.org/bots/api#startransactions) on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetStarTransactionsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/StarTransactions"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/refundStarPayment": {
            "post": {
                "operationId": "refundStarPayment",
                "summary": "Refunds a successful payment in Telegram Stars.",
                "tags": [
                    "Payments"
                ],
                "description": "Refunds a successful payment in [Telegram Stars](https://t.me/BotNews/90). Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RefundStarPaymentParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editUserStarSubscription": {
            "post": {
                "operationId": "editUserStarSubscription",
                "summary": "Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars.",
                "tags": [
                    "Payments"
                ],
                "description": "Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditUserStarSubscriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerShippingQuery": {
            "post": {
                "operationId": "answerShippingQuery",
                "summary": "If you sent an invoice requesting a shipping address and the parameter *is_flexible* was specified, the Bot API will send an Update with a *shipping_query* field to the bot.",
                "tags": [
                    "Payments"
                ],
                "description": "If you sent an invoice requesting a shipping address and the parameter *is_flexible* was specified, the Bot API will send an [Update](https://core.telegram.org/bots/api#update) with a *shipping_query* field to the bot. Use this method to reply to shipping queries. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerShippingQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/answerPreCheckoutQuery": {
            "post": {
                "operationId": "answerPreCheckoutQuery",
                "summary": "Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field *pre_checkout_query*.",
                "tags": [
                    "Payments"
                ],
                "description": "Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an [Update](https://core.telegram.org/bots/api#update) with the field *pre_checkout_query*. Use this method to respond to such pre-checkout queries. **Note:** The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnswerPreCheckoutQueryParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/sendSticker": {
            "post": {
                "operationId": "sendSticker",
                "summary": "Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to send static .WEBP, [animated](https://telegram.org/blog/animated-stickers) .TGS, or [video](https://telegram.org/blog/video-stickers-better-reactions) .WEBM stickers. Returns [Message](https://core.telegram.org/bots/api#message) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SendStickerParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SendStickerParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/Message"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getStickerSet": {
            "post": {
                "operationId": "getStickerSet",
                "summary": "Use this method to get a sticker set.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to get a sticker set. Returns [StickerSet](https://core.telegram.org/bots/api#stickerset) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetStickerSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/StickerSet"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getCustomEmojiStickers": {
            "post": {
                "operationId": "getCustomEmojiStickers",
                "summary": "Use this method to get information about custom emoji stickers by their identifiers.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to get information about custom emoji stickers by their identifiers. Returns an Array of [Sticker](https://core.telegram.org/bots/api#sticker) objects on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetCustomEmojiStickersParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Sticker"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/uploadStickerFile": {
            "post": {
                "operationId": "uploadStickerFile",
                "summary": "Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times).",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to upload a file with a sticker for later use in the [createNewStickerSet](https://core.telegram.org/bots/api#createnewstickerset), [addStickerToSet](https://core.telegram.org/bots/api#addstickertoset), or [replaceStickerInSet](https://core.telegram.org/bots/api#replacestickerinset) methods (the file can be used multiple times). Returns the uploaded file as [File](https://core.telegram.org/bots/api#file) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UploadStickerFileParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/UploadStickerFileParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/File"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/createNewStickerSet": {
            "post": {
                "operationId": "createNewStickerSet",
                "summary": "Use this method to create a new sticker set owned by a user.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateNewStickerSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/addStickerToSet": {
            "post": {
                "operationId": "addStickerToSet",
                "summary": "Use this method to add a new sticker to a set created by the bot.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AddStickerToSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/replaceStickerInSet": {
            "post": {
                "operationId": "replaceStickerInSet",
                "summary": "Use this method to replace an existing sticker in a sticker set with a new one.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to replace an existing sticker in a sticker set with a new one. The method is equivalent to calling [deleteStickerFromSet](https://core.telegram.org/bots/api#deletestickerfromset), then [addStickerToSet](https://core.telegram.org/bots/api#addstickertoset), then [setStickerPositionInSet](https://core.telegram.org/bots/api#setstickerpositioninset). Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReplaceStickerInSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerSetTitle": {
            "post": {
                "operationId": "setStickerSetTitle",
                "summary": "Use this method to set the title of a created sticker set.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to set the title of a created sticker set. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerSetTitleParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerSetThumbnail": {
            "post": {
                "operationId": "setStickerSetThumbnail",
                "summary": "Use this method to set the thumbnail of a regular or mask sticker set.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerSetThumbnailParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerSetThumbnailParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setCustomEmojiStickerSetThumbnail": {
            "post": {
                "operationId": "setCustomEmojiStickerSetThumbnail",
                "summary": "Use this method to set the thumbnail of a custom emoji sticker set.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to set the thumbnail of a custom emoji sticker set. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetCustomEmojiStickerSetThumbnailParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteStickerSet": {
            "post": {
                "operationId": "deleteStickerSet",
                "summary": "Use this method to delete a sticker set that was created by the bot.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to delete a sticker set that was created by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteStickerSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerPositionInSet": {
            "post": {
                "operationId": "setStickerPositionInSet",
                "summary": "Use this method to move a sticker in a set created by the bot to a specific position.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to move a sticker in a set created by the bot to a specific position. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerPositionInSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteStickerFromSet": {
            "post": {
                "operationId": "deleteStickerFromSet",
                "summary": "Use this method to delete a sticker from a set created by the bot.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to delete a sticker from a set created by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteStickerFromSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerEmojiList": {
            "post": {
                "operationId": "setStickerEmojiList",
                "summary": "Use this method to change the list of emoji assigned to a regular or custom emoji sticker.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerEmojiListParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerKeywords": {
            "post": {
                "operationId": "setStickerKeywords",
                "summary": "Use this method to change search keywords assigned to a regular or custom emoji sticker.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerKeywordsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setStickerMaskPosition": {
            "post": {
                "operationId": "setStickerMaskPosition",
                "summary": "Use this method to change the mask position of a mask sticker.",
                "tags": [
                    "Stickers"
                ],
                "description": "Use this method to change the [mask position](https://core.telegram.org/bots/api#maskposition) of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetStickerMaskPositionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUpdates": {
            "post": {
                "operationId": "getUpdates",
                "summary": "Use this method to receive incoming updates using long polling (wiki).",
                "tags": [
                    "Updates"
                ],
                "description": "Use this method to receive incoming updates using long polling ([wiki](https://en.wikipedia.org/wiki/Push_technology#Long_polling)). Returns an Array of [Update](https://core.telegram.org/bots/api#update) objects on success.\n\n>**Notes**\n**1.** This method will not work if an outgoing webhook is set up.\n**2.** In order to avoid getting duplicate updates, recalculate *offset* after each server response.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUpdatesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Update"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setWebhook": {
            "post": {
                "operationId": "setWebhook",
                "summary": "Use this method to specify a URL and receive incoming updates via an outgoing webhook.",
                "tags": [
                    "Updates"
                ],
                "description": "Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized [Update](https://core.telegram.org/bots/api#update). In case of an unsuccessful request (a request with response [HTTP status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) different from `2XY`), we will repeat the request and give up after a reasonable amount of attempts. Returns *True* on success.\n\nIf you'd like to make sure that the webhook was set by you, you can specify secret data in the parameter *secret_token*. If specified, the request will contain a header \"X-Telegram-Bot-Api-Secret-Token\" with the secret token as content.\n\n>**Notes**\n**1.** You will not be able to receive updates using [getUpdates](https://core.telegram.org/bots/api#getupdates) for as long as an outgoing webhook is set up.\n**2.** To use a self-signed certificate, you need to upload your [public key certificate](https://core.telegram.org/bots/self-signed) using *certificate* parameter. Please upload as InputFile, sending a String will not work.\n**3.** Ports currently supported *for webhooks*: **443, 80, 88, 8443**.\n\n>If you're having any trouble setting up webhooks, please check out this [amazing guide to webhooks](https://core.telegram.org/bots/webhooks).",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetWebhookParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SetWebhookParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteWebhook": {
            "post": {
                "operationId": "deleteWebhook",
                "summary": "Use this method to remove webhook integration if you decide to switch back to getUpdates.",
                "tags": [
                    "Updates"
                ],
                "description": "Use this method to remove webhook integration if you decide to switch back to [getUpdates](https://core.telegram.org/bots/api#getupdates). Returns *True* on success.",
                "requestBody": {
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteWebhookParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getWebhookInfo": {
            "post": {
                "operationId": "getWebhookInfo",
                "summary": "Use this method to get current webhook status.",
                "tags": [
                    "Updates"
                ],
                "description": "Use this method to get current webhook status. If the bot is using [getUpdates](https://core.telegram.org/bots/api#getupdates), will return an object with the *url* field empty. Returns [WebhookInfo](https://core.telegram.org/bots/api#webhookinfo) on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/WebhookInfo"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUserProfilePhotos": {
            "post": {
                "operationId": "getUserProfilePhotos",
                "summary": "Use this method to get a list of profile pictures for a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to get a list of profile pictures for a user. Returns [UserProfilePhotos](https://core.telegram.org/bots/api#userprofilephotos) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUserProfilePhotosParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/UserProfilePhotos"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUserProfileAudios": {
            "post": {
                "operationId": "getUserProfileAudios",
                "summary": "Use this method to get a list of profile audios for a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to get a list of profile audios for a user. Returns [UserProfileAudios](https://core.telegram.org/bots/api#userprofileaudios) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUserProfileAudiosParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/UserProfileAudios"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/verifyUser": {
            "post": {
                "operationId": "verifyUser",
                "summary": "Verifies a user on behalf of the organization which is represented by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Verifies a user [on behalf of the organization](https://telegram.org/verify#third-party-verification) which is represented by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VerifyUserParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/verifyChat": {
            "post": {
                "operationId": "verifyChat",
                "summary": "Verifies a chat on behalf of the organization which is represented by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Verifies a chat [on behalf of the organization](https://telegram.org/verify#third-party-verification) which is represented by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VerifyChatParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/removeUserVerification": {
            "post": {
                "operationId": "removeUserVerification",
                "summary": "Removes verification from a user who is currently verified on behalf of the organization represented by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Removes verification from a user who is currently verified [on behalf of the organization](https://telegram.org/verify#third-party-verification) represented by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RemoveUserVerificationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/removeChatVerification": {
            "post": {
                "operationId": "removeChatVerification",
                "summary": "Removes verification from a chat that is currently verified on behalf of the organization represented by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Removes verification from a chat that is currently verified [on behalf of the organization](https://telegram.org/verify#third-party-verification) represented by the bot. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RemoveChatVerificationParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/exportChatInviteLink": {
            "post": {
                "operationId": "exportChatInviteLink",
                "summary": "Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the new invite link as *String* on success.\n\n>Note: Each administrator in a chat generates their own invite links. Bots can't use invite links generated by other administrators. If you want your bot to work with invite links, it will need to generate its own link using [exportChatInviteLink](https://core.telegram.org/bots/api#exportchatinvitelink) or by calling the [getChat](https://core.telegram.org/bots/api#getchat) method. If your bot needs to generate a new primary invite link replacing its previous one, use [exportChatInviteLink](https://core.telegram.org/bots/api#exportchatinvitelink) again.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExportChatInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/createChatInviteLink": {
            "post": {
                "operationId": "createChatInviteLink",
                "summary": "Use this method to create an additional invite link for a chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method [revokeChatInviteLink](https://core.telegram.org/bots/api#revokechatinvitelink). Returns the new invite link as [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateChatInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatInviteLink"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/createChatSubscriptionInviteLink": {
            "post": {
                "operationId": "createChatSubscriptionInviteLink",
                "summary": "Use this method to create a subscription invite link for a channel chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to create a [subscription invite link](https://telegram.org/blog/superchannels-star-reactions-subscriptions#star-subscriptions) for a channel chat. The bot must have the *can_invite_users* administrator rights. The link can be edited using the method [editChatSubscriptionInviteLink](https://core.telegram.org/bots/api#editchatsubscriptioninvitelink) or revoked using the method [revokeChatInviteLink](https://core.telegram.org/bots/api#revokechatinvitelink). Returns the new invite link as [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateChatSubscriptionInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatInviteLink"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editChatInviteLink": {
            "post": {
                "operationId": "editChatInviteLink",
                "summary": "Use this method to edit a non-primary invite link created by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditChatInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatInviteLink"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editChatSubscriptionInviteLink": {
            "post": {
                "operationId": "editChatSubscriptionInviteLink",
                "summary": "Use this method to edit a subscription invite link created by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to edit a subscription invite link created by the bot. The bot must have the *can_invite_users* administrator rights. Returns the edited invite link as [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditChatSubscriptionInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatInviteLink"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/revokeChatInviteLink": {
            "post": {
                "operationId": "revokeChatInviteLink",
                "summary": "Use this method to revoke an invite link created by the bot.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as [ChatInviteLink](https://core.telegram.org/bots/api#chatinvitelink) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RevokeChatInviteLinkParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatInviteLink"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setUserEmojiStatus": {
            "post": {
                "operationId": "setUserEmojiStatus",
                "summary": "Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method requestEmojiStatusAccess.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method [requestEmojiStatusAccess](https://core.telegram.org/bots/webapps#initializing-mini-apps). Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetUserEmojiStatusParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getChat": {
            "post": {
                "operationId": "getChat",
                "summary": "Use this method to get up-to-date information about the chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to get up-to-date information about the chat. Returns [ChatFullInfo](https://core.telegram.org/bots/api#chatfullinfo) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetChatParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ChatFullInfo"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatPhoto": {
            "post": {
                "operationId": "setChatPhoto",
                "summary": "Use this method to set a new profile photo for the chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatPhotoParams"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatPhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteChatPhoto": {
            "post": {
                "operationId": "deleteChatPhoto",
                "summary": "Use this method to delete a chat photo.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteChatPhotoParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatTitle": {
            "post": {
                "operationId": "setChatTitle",
                "summary": "Use this method to change the title of a chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatTitleParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatPermissions": {
            "post": {
                "operationId": "setChatPermissions",
                "summary": "Use this method to set default chat permissions for all members.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the *can_restrict_members* administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatPermissionsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatDescription": {
            "post": {
                "operationId": "setChatDescription",
                "summary": "Use this method to change the description of a group, a supergroup or a channel.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatDescriptionParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/pinChatMessage": {
            "post": {
                "operationId": "pinChatMessage",
                "summary": "Use this method to add a message to the list of pinned messages in a chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to add a message to the list of pinned messages in a chat. In private chats and channel direct messages chats, all non-service messages can be pinned. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to pin messages in groups and channels respectively. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PinChatMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unpinChatMessage": {
            "post": {
                "operationId": "unpinChatMessage",
                "summary": "Use this method to remove a message from the list of pinned messages in a chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to remove a message from the list of pinned messages in a chat. In private chats and channel direct messages chats, all messages can be unpinned. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin messages in groups and channels respectively. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnpinChatMessageParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unpinAllChatMessages": {
            "post": {
                "operationId": "unpinAllChatMessages",
                "summary": "Use this method to clear the list of pinned messages in a chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin all pinned messages in groups and channels respectively. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnpinAllChatMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/setChatStickerSet": {
            "post": {
                "operationId": "setChatStickerSet",
                "summary": "Use this method to set a new group sticker set for a supergroup.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field *can_set_sticker_set* optionally returned in [getChat](https://core.telegram.org/bots/api#getchat) requests to check if the bot can use this method. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SetChatStickerSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteChatStickerSet": {
            "post": {
                "operationId": "deleteChatStickerSet",
                "summary": "Use this method to delete a group sticker set from a supergroup.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field *can_set_sticker_set* optionally returned in [getChat](https://core.telegram.org/bots/api#getchat) requests to check if the bot can use this method. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteChatStickerSetParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getForumTopicIconStickers": {
            "post": {
                "operationId": "getForumTopicIconStickers",
                "summary": "Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user. Returns an Array of [Sticker](https://core.telegram.org/bots/api#sticker) objects on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Sticker"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/createForumTopic": {
            "post": {
                "operationId": "createForumTopic",
                "summary": "Use this method to create a topic in a forum supergroup chat or a private chat with a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator right. Returns information about the created topic as [ForumTopic](https://core.telegram.org/bots/api#forumtopic) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/ForumTopic"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editForumTopic": {
            "post": {
                "operationId": "editForumTopic",
                "summary": "Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to edit name and icon of a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights, unless it is the creator of the topic. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/closeForumTopic": {
            "post": {
                "operationId": "closeForumTopic",
                "summary": "Use this method to close an open topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to close an open topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights, unless it is the creator of the topic. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CloseForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/reopenForumTopic": {
            "post": {
                "operationId": "reopenForumTopic",
                "summary": "Use this method to reopen a closed topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to reopen a closed topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights, unless it is the creator of the topic. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReopenForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/deleteForumTopic": {
            "post": {
                "operationId": "deleteForumTopic",
                "summary": "Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to delete a forum topic along with all its messages in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the *can_delete_messages* administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DeleteForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unpinAllForumTopicMessages": {
            "post": {
                "operationId": "unpinAllForumTopicMessages",
                "summary": "Use this method to clear the list of pinned messages in a forum topic in a forum supergroup chat or a private chat with a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to clear the list of pinned messages in a forum topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the *can_pin_messages* administrator right in the supergroup. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnpinAllForumTopicMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/editGeneralForumTopic": {
            "post": {
                "operationId": "editGeneralForumTopic",
                "summary": "Use this method to edit the name of the 'General' topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/EditGeneralForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/closeGeneralForumTopic": {
            "post": {
                "operationId": "closeGeneralForumTopic",
                "summary": "Use this method to close an open 'General' topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CloseGeneralForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/reopenGeneralForumTopic": {
            "post": {
                "operationId": "reopenGeneralForumTopic",
                "summary": "Use this method to reopen a closed 'General' topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. The topic will be automatically unhidden if it was hidden. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReopenGeneralForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/hideGeneralForumTopic": {
            "post": {
                "operationId": "hideGeneralForumTopic",
                "summary": "Use this method to hide the 'General' topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. The topic will be automatically closed if it was open. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/HideGeneralForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unhideGeneralForumTopic": {
            "post": {
                "operationId": "unhideGeneralForumTopic",
                "summary": "Use this method to unhide the 'General' topic in a forum supergroup chat.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnhideGeneralForumTopicParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/unpinAllGeneralForumTopicMessages": {
            "post": {
                "operationId": "unpinAllGeneralForumTopicMessages",
                "summary": "Use this method to clear the list of pinned messages in a General forum topic.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to clear the list of pinned messages in a General forum topic. The bot must be an administrator in the chat for this to work and must have the *can_pin_messages* administrator right in the supergroup. Returns *True* on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UnpinAllGeneralForumTopicMessagesParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/getUserChatBoosts": {
            "post": {
                "operationId": "getUserChatBoosts",
                "summary": "Use this method to get the list of boosts added to a chat by a user.",
                "tags": [
                    "Users and chats"
                ],
                "description": "Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns [UserChatBoosts](https://core.telegram.org/bots/api#userchatboosts) on success.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/GetUserChatBoostsParams"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "ok",
                                        "result"
                                    ],
                                    "properties": {
                                        "ok": {
                                            "type": "boolean",
                                            "const": true
                                        },
                                        "result": {
                                            "$ref": "#/components/schemas/UserChatBoosts"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/logOut": {
            "post": {
                "operationId": "logOut",
                "summary": "Use this method to log out from the cloud Bot API server before launching the bot locally.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to log out from the cloud Bot API server before launching the bot locally. You **must** log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns *True* on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        },
        "/close": {
            "post": {
                "operationId": "close",
                "summary": "Use this method to close the bot instance before moving it from one local server to another.",
                "tags": [
                    "Bot"
                ],
                "description": "Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns *True* on success.",
                "responses": {
                    "200": {
                        "description": "The request was successful",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrueResponse"
                                }
                            }
                        }
                    },
                    "4XX": {
                        "$ref": "#/components/responses/Error"
                    },
                    "5XX": {
                        "$ref": "#/components/responses/Error"
                    }
                }
            }
        }
    },
    "webhooks": {
        "update": {
            "post": {
                "operationId": "receiveUpdate",
                "summary": "Receive an incoming update.",
                "description": "Sent to the URL given to [setWebhook](https://core.telegram.org/bots/api#setwebhook) for each incoming update, one update per request.",
                "tags": [
                    "Updates"
                ],
                "security": [
                    [],
                    {
                        "secretToken": []
                    },
                    {
                        "basicAuth": []
                    },
                    {
                        "secretToken": [],
                        "basicAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Update"
                            }
                        }
                    }
                },
                "responses": {
                    "2XX": {
                        "description": "The update was received. The response can also make a request to a method, giving its name in *method* and its parameters as in a request, files included; the result of the request is not returned. Methods whose name starts with \"get\", setWebhook, deleteWebhook, close and logOut can't be requested this way.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyCommandsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyCommands"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMyCommandsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMyCommands"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyDefaultAdministratorRightsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyDefaultAdministratorRights"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyNameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyName"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "method"
                                            ],
                                            "properties": {
                                                "method": {
                                                    "const": "removeMyProfilePhoto"
                                                }
                                            }
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyShortDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyShortDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatMenuButtonParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatMenuButton"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetManagedBotAccessSettingsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setManagedBotAccessSettings"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReplaceManagedBotTokenParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "replaceManagedBotToken"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PostStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "postStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RepostStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "repostStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReadBusinessMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "readBusinessMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteBusinessMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteBusinessMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountNameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountName"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountUsernameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountUsername"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountBioParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountBio"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveBusinessAccountProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeBusinessAccountProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountGiftSettingsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountGiftSettings"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/TransferBusinessAccountStarsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "transferBusinessAccountStars"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/LeaveChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "leaveChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PromoteChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "promoteChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatAdministratorCustomTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatAdministratorCustomTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatMemberTagParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatMemberTag"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/BanChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "banChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RestrictChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "restrictChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnbanChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unbanChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/BanChatSenderChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "banChatSenderChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnbanChatSenderChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unbanChatSenderChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ApproveChatJoinRequestParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "approveChatJoinRequest"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeclineChatJoinRequestParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "declineChatJoinRequest"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/StopPollParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "stopPoll"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageTextParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageText"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageLiveLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageLiveLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/StopMessageLiveLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "stopMessageLiveLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageCaptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageCaption"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageChecklistParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageChecklist"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageReplyMarkupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageReplyMarkup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageTextParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageText"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageCaptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageCaption"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageReplyMarkupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageReplyMarkup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteEphemeralMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteEphemeralMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessageReactionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessageReaction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteAllMessageReactionsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteAllMessageReactions"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ApproveSuggestedPostParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "approveSuggestedPost"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeclineSuggestedPostParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "declineSuggestedPost"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CopyMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "copyMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CopyMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "copyMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ForwardMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "forwardMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ForwardMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "forwardMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendGameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendGame"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetGameScoreParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setGameScore"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/GiftPremiumSubscriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "giftPremiumSubscription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ConvertGiftToStarsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "convertGiftToStars"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UpgradeGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "upgradeGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/TransferGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "transferGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerWebAppQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerWebAppQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerGuestQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerGuestQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerInlineQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerInlineQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerChatJoinRequestQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerChatJoinRequestQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChatJoinRequestWebAppParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChatJoinRequestWebApp"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SavePreparedInlineMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "savePreparedInlineMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SavePreparedKeyboardButtonParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "savePreparedKeyboardButton"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerCallbackQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerCallbackQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendAnimationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendAnimation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendAudioParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendAudio"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendDocumentParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendDocument"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendLivePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendLivePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVideoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVideo"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVideoNoteParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVideoNote"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVoiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVoice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPaidMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPaidMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMediaGroupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMediaGroup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendRichMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendRichMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendDiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendDice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVenueParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVenue"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendContactParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendContact"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPollParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPoll"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChecklistParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChecklist"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChatActionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChatAction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMessageDraftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMessageDraft"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendRichMessageDraftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendRichMessageDraft"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMessageReactionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMessageReaction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetPassportDataErrorsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setPassportDataErrors"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendInvoiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendInvoice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateInvoiceLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createInvoiceLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RefundStarPaymentParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "refundStarPayment"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditUserStarSubscriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editUserStarSubscription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerShippingQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerShippingQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerPreCheckoutQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerPreCheckoutQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendStickerParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendSticker"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UploadStickerFileParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "uploadStickerFile"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateNewStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createNewStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AddStickerToSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "addStickerToSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReplaceStickerInSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "replaceStickerInSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerSetTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerSetTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerSetThumbnailParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerSetThumbnail"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetCustomEmojiStickerSetThumbnailParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setCustomEmojiStickerSetThumbnail"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerPositionInSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerPositionInSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStickerFromSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStickerFromSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerEmojiListParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerEmojiList"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerKeywordsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerKeywords"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerMaskPositionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerMaskPosition"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/VerifyUserParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "verifyUser"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/VerifyChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "verifyChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveUserVerificationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeUserVerification"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveChatVerificationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeChatVerification"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ExportChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "exportChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateChatSubscriptionInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createChatSubscriptionInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditChatSubscriptionInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editChatSubscriptionInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RevokeChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "revokeChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetUserEmojiStatusParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setUserEmojiStatus"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteChatPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteChatPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatPermissionsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatPermissions"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PinChatMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "pinChatMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinChatMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinChatMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllChatMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllChatMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteChatStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteChatStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CloseForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "closeForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReopenForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "reopenForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllForumTopicMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllForumTopicMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CloseGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "closeGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReopenGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "reopenGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/HideGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "hideGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnhideGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unhideGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllGeneralForumTopicMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllGeneralForumTopicMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                }
                            },
                            "multipart/form-data": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyCommandsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyCommands"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMyCommandsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMyCommands"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyDefaultAdministratorRightsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyDefaultAdministratorRights"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyNameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyName"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "method"
                                            ],
                                            "properties": {
                                                "method": {
                                                    "const": "removeMyProfilePhoto"
                                                }
                                            }
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMyShortDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMyShortDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatMenuButtonParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatMenuButton"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetManagedBotAccessSettingsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setManagedBotAccessSettings"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReplaceManagedBotTokenParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "replaceManagedBotToken"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PostStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "postStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RepostStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "repostStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStoryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStory"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReadBusinessMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "readBusinessMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteBusinessMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteBusinessMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountNameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountName"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountUsernameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountUsername"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountBioParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountBio"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveBusinessAccountProfilePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeBusinessAccountProfilePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetBusinessAccountGiftSettingsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setBusinessAccountGiftSettings"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/TransferBusinessAccountStarsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "transferBusinessAccountStars"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/LeaveChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "leaveChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PromoteChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "promoteChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatAdministratorCustomTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatAdministratorCustomTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatMemberTagParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatMemberTag"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/BanChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "banChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RestrictChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "restrictChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnbanChatMemberParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unbanChatMember"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/BanChatSenderChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "banChatSenderChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnbanChatSenderChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unbanChatSenderChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ApproveChatJoinRequestParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "approveChatJoinRequest"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeclineChatJoinRequestParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "declineChatJoinRequest"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/StopPollParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "stopPoll"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageTextParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageText"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageLiveLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageLiveLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/StopMessageLiveLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "stopMessageLiveLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageCaptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageCaption"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageChecklistParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageChecklist"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditMessageReplyMarkupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editMessageReplyMarkup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageTextParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageText"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageCaptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageCaption"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditEphemeralMessageReplyMarkupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editEphemeralMessageReplyMarkup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteEphemeralMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteEphemeralMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteMessageReactionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteMessageReaction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteAllMessageReactionsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteAllMessageReactions"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ApproveSuggestedPostParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "approveSuggestedPost"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeclineSuggestedPostParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "declineSuggestedPost"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CopyMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "copyMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CopyMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "copyMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ForwardMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "forwardMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ForwardMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "forwardMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendGameParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendGame"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetGameScoreParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setGameScore"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/GiftPremiumSubscriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "giftPremiumSubscription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ConvertGiftToStarsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "convertGiftToStars"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UpgradeGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "upgradeGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/TransferGiftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "transferGift"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerWebAppQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerWebAppQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerGuestQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerGuestQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerInlineQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerInlineQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerChatJoinRequestQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerChatJoinRequestQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChatJoinRequestWebAppParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChatJoinRequestWebApp"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SavePreparedInlineMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "savePreparedInlineMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SavePreparedKeyboardButtonParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "savePreparedKeyboardButton"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerCallbackQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerCallbackQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendAnimationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendAnimation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendAudioParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendAudio"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendDocumentParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendDocument"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendLivePhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendLivePhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVideoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVideo"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVideoNoteParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVideoNote"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVoiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVoice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPaidMediaParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPaidMedia"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMediaGroupParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMediaGroup"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendRichMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendRichMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendDiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendDice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendLocationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendLocation"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendVenueParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendVenue"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendContactParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendContact"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendPollParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendPoll"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChecklistParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChecklist"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendChatActionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendChatAction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendMessageDraftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendMessageDraft"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendRichMessageDraftParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendRichMessageDraft"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetMessageReactionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setMessageReaction"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetPassportDataErrorsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setPassportDataErrors"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendInvoiceParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendInvoice"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateInvoiceLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createInvoiceLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RefundStarPaymentParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "refundStarPayment"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditUserStarSubscriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editUserStarSubscription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerShippingQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerShippingQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AnswerPreCheckoutQueryParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "answerPreCheckoutQuery"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SendStickerParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "sendSticker"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UploadStickerFileParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "uploadStickerFile"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateNewStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createNewStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/AddStickerToSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "addStickerToSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReplaceStickerInSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "replaceStickerInSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerSetTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerSetTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerSetThumbnailParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerSetThumbnail"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetCustomEmojiStickerSetThumbnailParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setCustomEmojiStickerSetThumbnail"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerPositionInSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerPositionInSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteStickerFromSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteStickerFromSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerEmojiListParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerEmojiList"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerKeywordsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerKeywords"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetStickerMaskPositionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setStickerMaskPosition"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/VerifyUserParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "verifyUser"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/VerifyChatParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "verifyChat"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveUserVerificationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeUserVerification"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RemoveChatVerificationParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "removeChatVerification"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ExportChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "exportChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateChatSubscriptionInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createChatSubscriptionInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditChatSubscriptionInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editChatSubscriptionInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/RevokeChatInviteLinkParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "revokeChatInviteLink"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetUserEmojiStatusParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setUserEmojiStatus"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteChatPhotoParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteChatPhoto"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatTitleParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatTitle"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatPermissionsParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatPermissions"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatDescriptionParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatDescription"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/PinChatMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "pinChatMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinChatMessageParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinChatMessage"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllChatMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllChatMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/SetChatStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "setChatStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteChatStickerSetParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteChatStickerSet"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CreateForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "createForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CloseForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "closeForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReopenForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "reopenForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/DeleteForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "deleteForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllForumTopicMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllForumTopicMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/EditGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "editGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/CloseGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "closeGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/ReopenGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "reopenGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/HideGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "hideGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnhideGeneralForumTopicParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unhideGeneralForumTopic"
                                                        }
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "allOf": [
                                                {
                                                    "$ref": "#/components/schemas/UnpinAllGeneralForumTopicMessagesParams"
                                                },
                                                {
                                                    "type": "object",
                                                    "required": [
                                                        "method"
                                                    ],
                                                    "properties": {
                                                        "method": {
                                                            "const": "unpinAllGeneralForumTopicMessages"
                                                        }
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "The update is sent again later, after the number of seconds in the Retry-After header, if any. If the webhook keeps responding with the status 410 for 23 hours, it is deleted."
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "WebAppInfo": {
                "type": "object",
                "description": "Describes a [Web App](https://core.telegram.org/bots/webapps).",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "description": "An HTTPS URL of a Web App to be opened with additional data as specified in [Initializing Web Apps](https://core.telegram.org/bots/webapps#initializing-mini-apps)",
                        "type": "string"
                    }
                }
            },
            "CopyTextButton": {
                "type": "object",
                "description": "This object represents an inline keyboard button that copies specified text to the clipboard.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "The text to be copied to the clipboard, 1-256 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                    }
                }
            },
            "CallbackGame": {
                "type": "object",
                "description": "A placeholder, currently holds no information. Use [BotFather](https://t.me/botfather) to set up your game."
            },
            "DisabledButton": {
                "type": "object",
                "description": "This object represents a disabled button which does nothing. Currently holds no information."
            },
            "SwitchInlineQueryChosenChatInput": {
                "type": "object",
                "description": "This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.",
                "properties": {
                    "query": {
                        "description": "The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted.",
                        "type": "string"
                    },
                    "allow_user_chats": {
                        "description": "*True*, if private chats with users can be chosen",
                        "type": "boolean"
                    },
                    "allow_bot_chats": {
                        "description": "*True*, if private chats with bots can be chosen",
                        "type": "boolean"
                    },
                    "allow_group_chats": {
                        "description": "*True*, if group and supergroup chats can be chosen",
                        "type": "boolean"
                    },
                    "allow_channel_chats": {
                        "description": "*True*, if channel chats can be chosen",
                        "type": "boolean"
                    }
                }
            },
            "SwitchInlineQueryChosenChatOutput": {
                "type": "object",
                "description": "This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.",
                "required": [
                    "query",
                    "allow_user_chats",
                    "allow_bot_chats",
                    "allow_group_chats",
                    "allow_channel_chats"
                ],
                "properties": {
                    "query": {
                        "description": "The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted.",
                        "type": "string"
                    },
                    "allow_user_chats": {
                        "description": "*True*, if private chats with users can be chosen",
                        "type": "boolean"
                    },
                    "allow_bot_chats": {
                        "description": "*True*, if private chats with bots can be chosen",
                        "type": "boolean"
                    },
                    "allow_group_chats": {
                        "description": "*True*, if group and supergroup chats can be chosen",
                        "type": "boolean"
                    },
                    "allow_channel_chats": {
                        "description": "*True*, if channel chats can be chosen",
                        "type": "boolean"
                    }
                }
            },
            "InlineKeyboardButtonInput": {
                "type": "object",
                "description": "This object represents one button of an inline keyboard. Exactly one of the fields other than *text*, *icon_custom_emoji_id*, and *style* must be used to specify the type of the button.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Label text on the button",
                        "type": "string"
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown before the text of the button. Can only be used by bots that purchased additional usernames on [Fragment](https://fragment.com) or in the messages directly sent by the bot to private, group and supergroup chats if the owner of the bot has a Telegram Premium subscription.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "style": {
                        "description": "Style of the button. Must be one of \"danger\" (red), \"success\" (green) or \"primary\" (blue). If omitted, then an app-specific style is used.",
                        "type": "string",
                        "enum": [
                            "primary",
                            "danger",
                            "success"
                        ]
                    },
                    "url": {
                        "description": "HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the [Web App](https://core.telegram.org/bots/webapps) that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery). Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a business account.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    },
                    "callback_data": {
                        "description": "Data to be sent in a [callback query](https://core.telegram.org/bots/api#callbackquery) to the bot when the button is pressed, 1-64 bytes",
                        "type": "string"
                    },
                    "switch_inline_query_current_chat": {
                        "description": "If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted.\n\nThis offers a quick way for the user to open your bot in inline mode in the same chat - good for selecting something from multiple options. Not supported in channels and for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query_chosen_chat": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "$ref": "#/components/schemas/SwitchInlineQueryChosenChatInput"
                    },
                    "copy_text": {
                        "description": "Description of the button that copies the specified text to the clipboard",
                        "$ref": "#/components/schemas/CopyTextButton"
                    },
                    "login_url": {
                        "$ref": "#/components/schemas/LoginUrl"
                    }
                }
            },
            "InlineKeyboardButtonOutput": {
                "type": "object",
                "description": "This object represents one button of an inline keyboard. Exactly one of the fields other than *text*, *icon_custom_emoji_id*, and *style* must be used to specify the type of the button.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Label text on the button",
                        "type": "string"
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown before the text of the button. Can only be used by bots that purchased additional usernames on [Fragment](https://fragment.com) or in the messages directly sent by the bot to private, group and supergroup chats if the owner of the bot has a Telegram Premium subscription.",
                        "type": "string"
                    },
                    "style": {
                        "description": "Style of the button. Must be one of \"danger\" (red), \"success\" (green) or \"primary\" (blue). If omitted, then an app-specific style is used.",
                        "type": "string",
                        "enum": [
                            "primary",
                            "danger",
                            "success"
                        ]
                    },
                    "url": {
                        "description": "HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the [Web App](https://core.telegram.org/bots/webapps) that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery). Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a business account.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    },
                    "callback_data": {
                        "description": "Data to be sent in a [callback query](https://core.telegram.org/bots/api#callbackquery) to the bot when the button is pressed, 1-64 bytes",
                        "type": "string"
                    },
                    "callback_game": {
                        "description": "Description of the game that will be launched when the user presses the button.\n\n**NOTE:** This type of button **must** always be the first button in the first row.",
                        "$ref": "#/components/schemas/CallbackGame"
                    },
                    "switch_inline_query_current_chat": {
                        "description": "If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted.\n\nThis offers a quick way for the user to open your bot in inline mode in the same chat - good for selecting something from multiple options. Not supported in channels and for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query_chosen_chat": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "$ref": "#/components/schemas/SwitchInlineQueryChosenChatOutput"
                    },
                    "pay": {
                        "description": "Specify *True*, to send a [Pay button](https://core.telegram.org/bots/api#payments). Substrings \"⭐\" and \"XTR\" in the buttons's text will be replaced with a Telegram Star icon. \n\n**NOTE:** This type of button **must** always be the first button in the first row and can only be used in invoice messages.",
                        "type": "boolean",
                        "const": true
                    },
                    "copy_text": {
                        "description": "Description of the button that copies the specified text to the clipboard",
                        "$ref": "#/components/schemas/CopyTextButton"
                    },
                    "disabled": {
                        "description": "If set, then the button is disabled and does nothing",
                        "$ref": "#/components/schemas/DisabledButton"
                    }
                }
            },
            "PreparedKeyboardButton": {
                "type": "object",
                "description": "Describes a keyboard button to be used by a user of a Mini App.",
                "required": [
                    "id"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the keyboard button",
                        "type": "string"
                    }
                }
            },
            "File": {
                "type": "object",
                "description": "This object represents a file ready to be downloaded. The file can be downloaded via the link `https://api.telegram.org/file/bot<token>/<file_path>`. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling [getFile](https://core.telegram.org/bots/api#getfile).\n\n> The maximum file size to download is 20 MB",
                "required": [
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    },
                    "file_path": {
                        "description": "File path. Use `https://api.telegram.org/file/bot<token>/<file_path>` to get the file.",
                        "type": "string"
                    }
                }
            },
            "PassportFile": {
                "type": "object",
                "description": "This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.",
                "required": [
                    "file_id",
                    "file_unique_id",
                    "file_size",
                    "file_date"
                ],
                "properties": {
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes",
                        "type": "integer"
                    },
                    "file_date": {
                        "description": "Unix time when the file was uploaded",
                        "type": "integer"
                    }
                }
            },
            "MaskPosition": {
                "type": "object",
                "description": "This object describes the position on faces where a mask should be placed by default.",
                "required": [
                    "point",
                    "x_shift",
                    "y_shift",
                    "scale"
                ],
                "properties": {
                    "point": {
                        "description": "The part of the face relative to which the mask should be placed. Currently, can be \"forehead\", \"eyes\", \"mouth\", or \"chin\".",
                        "type": "string",
                        "enum": [
                            "forehead",
                            "eyes",
                            "mouth",
                            "chin"
                        ]
                    },
                    "x_shift": {
                        "description": "Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position.",
                        "type": "number"
                    },
                    "y_shift": {
                        "description": "Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. For example, 1.0 will place the mask just below the default mask position.",
                        "type": "number"
                    },
                    "scale": {
                        "description": "Mask scaling coefficient. For example, 2.0 means double size.",
                        "type": "number"
                    }
                }
            },
            "Sticker": {
                "type": "object",
                "description": "This object represents a sticker.",
                "required": [
                    "width",
                    "height",
                    "is_animated",
                    "is_video",
                    "type",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "width": {
                        "description": "Sticker width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Sticker height",
                        "type": "integer"
                    },
                    "emoji": {
                        "description": "Emoji associated with the sticker",
                        "type": "string"
                    },
                    "set_name": {
                        "description": "Name of the sticker set to which the sticker belongs",
                        "type": "string"
                    },
                    "is_animated": {
                        "description": "*True*, if the sticker is [animated](https://telegram.org/blog/animated-stickers)",
                        "type": "boolean"
                    },
                    "is_video": {
                        "description": "*True*, if the sticker is a [video sticker](https://telegram.org/blog/video-stickers-better-reactions)",
                        "type": "boolean"
                    },
                    "type": {
                        "description": "Type of the sticker, currently can be \"regular\", \"mask\", or \"custom_emoji\". The type of the sticker is independent from its format, which is determined by the fields *is_animated* and *is_video*.",
                        "type": "string",
                        "enum": [
                            "regular",
                            "mask",
                            "custom_emoji"
                        ]
                    },
                    "premium_animation": {
                        "description": "For premium regular stickers, premium animation for the sticker",
                        "$ref": "#/components/schemas/File"
                    },
                    "mask_position": {
                        "description": "For mask stickers, the position where the mask should be placed",
                        "$ref": "#/components/schemas/MaskPosition"
                    },
                    "custom_emoji_id": {
                        "description": "For custom emoji stickers, unique identifier of the custom emoji",
                        "type": "string"
                    },
                    "needs_repainting": {
                        "description": "*True*, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places",
                        "type": "boolean",
                        "const": true
                    },
                    "thumbnail": {
                        "description": "Sticker thumbnail in the .WEBP or .JPG format",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "Audio": {
                "type": "object",
                "description": "This object represents an audio file to be treated as music by the Telegram clients.",
                "required": [
                    "duration",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "duration": {
                        "description": "Duration of the audio in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "file_name": {
                        "description": "Original filename as defined by the sender",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title of the audio as defined by the sender or by audio tags",
                        "type": "string"
                    },
                    "performer": {
                        "description": "Performer of the audio as defined by the sender or by audio tags",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the album cover to which the music file belongs",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "UserProfileAudios": {
                "type": "object",
                "description": "This object represents the audios displayed on a user's profile.",
                "required": [
                    "total_count",
                    "audios"
                ],
                "properties": {
                    "total_count": {
                        "description": "Total number of profile audios for the target user",
                        "type": "integer"
                    },
                    "audios": {
                        "description": "Requested profile audios",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Audio"
                        }
                    }
                }
            },
            "ChatPhoto": {
                "type": "object",
                "description": "This object represents a chat photo.",
                "required": [
                    "small_file_id",
                    "small_file_unique_id",
                    "big_file_id",
                    "big_file_unique_id"
                ],
                "properties": {
                    "small_file_id": {
                        "description": "File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.",
                        "type": "string"
                    },
                    "small_file_unique_id": {
                        "description": "Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "big_file_id": {
                        "description": "File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.",
                        "type": "string"
                    },
                    "big_file_unique_id": {
                        "description": "Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    }
                }
            },
            "Animation": {
                "type": "object",
                "description": "This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).",
                "required": [
                    "duration",
                    "width",
                    "height",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "file_name": {
                        "description": "Original animation filename as defined by the sender",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "duration": {
                        "description": "Duration of the video in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Video width as defined by the sender",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height as defined by the sender",
                        "type": "integer"
                    },
                    "thumbnail": {
                        "description": "Animation thumbnail as defined by the sender",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "Document": {
                "type": "object",
                "description": "This object represents a general file (as opposed to [photos](https://core.telegram.org/bots/api#photosize), [voice messages](https://core.telegram.org/bots/api#voice) and [audio files](https://core.telegram.org/bots/api#audio)).",
                "required": [
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "file_name": {
                        "description": "Original filename as defined by the sender",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Document thumbnail as defined by the sender",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "Link": {
                "type": "object",
                "description": "Represents an HTTP link.",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "description": "URL of the link",
                        "type": "string"
                    }
                }
            },
            "PhotoSize": {
                "type": "object",
                "description": "This object represents one size of a photo or a [file](https://core.telegram.org/bots/api#document) / [sticker](https://core.telegram.org/bots/api#sticker) thumbnail.",
                "required": [
                    "file_id",
                    "file_unique_id",
                    "width",
                    "height"
                ],
                "properties": {
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Photo width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Photo height",
                        "type": "integer"
                    }
                }
            },
            "LivePhoto": {
                "type": "object",
                "description": "This object represents a live photo.",
                "required": [
                    "photo",
                    "duration",
                    "width",
                    "height",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "photo": {
                        "description": "Available sizes of the corresponding static photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "duration": {
                        "description": "Duration of the video in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Video width as defined by the sender",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height as defined by the sender",
                        "type": "integer"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "file_id": {
                        "description": "Identifier for the video file which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for the video file which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "VideoQuality": {
                "type": "object",
                "description": "This object represents a video file of a specific quality.",
                "required": [
                    "width",
                    "height",
                    "codec",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height",
                        "type": "integer"
                    },
                    "codec": {
                        "description": "Codec that was used to encode the video, for example, \"h264\", \"h265\", or \"av01\"",
                        "type": "string"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "Video": {
                "type": "object",
                "description": "This object represents a video file.",
                "required": [
                    "duration",
                    "width",
                    "height",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "duration": {
                        "description": "Duration of the video in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Video width as defined by the sender",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height as defined by the sender",
                        "type": "integer"
                    },
                    "file_name": {
                        "description": "Original filename as defined by the sender",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Video thumbnail",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    },
                    "cover": {
                        "description": "Available sizes of the cover of the video in the message",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "start_timestamp": {
                        "description": "Timestamp in seconds from which the video will play in the message",
                        "type": "integer"
                    },
                    "qualities": {
                        "description": "List of available qualities of the video",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/VideoQuality"
                        }
                    }
                }
            },
            "VideoNote": {
                "type": "object",
                "description": "This object represents a [video message](https://telegram.org/blog/video-messages-and-telescope).",
                "required": [
                    "duration",
                    "length",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "duration": {
                        "description": "Duration of the video in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "length": {
                        "description": "Video width and height (diameter of the video message) as defined by the sender",
                        "type": "integer"
                    },
                    "thumbnail": {
                        "description": "Video thumbnail",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "Voice": {
                "type": "object",
                "description": "This object represents a voice note.",
                "required": [
                    "duration",
                    "file_id",
                    "file_unique_id"
                ],
                "properties": {
                    "duration": {
                        "description": "Duration of the audio in seconds as defined by the sender",
                        "type": "integer"
                    },
                    "mime_type": {
                        "description": "MIME type of the file as defined by the sender",
                        "type": "string"
                    },
                    "file_id": {
                        "description": "Identifier for this file, which can be used to download or reuse the file",
                        "type": "string"
                    },
                    "file_unique_id": {
                        "description": "Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.",
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.",
                        "type": "integer"
                    }
                }
            },
            "PaidMediaPreview": {
                "type": "object",
                "description": "The paid media isn't available before the payment.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the paid media, always \"preview\"",
                        "type": "string",
                        "const": "preview"
                    },
                    "width": {
                        "description": "Media width as defined by the sender",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Media height as defined by the sender",
                        "type": "integer"
                    },
                    "duration": {
                        "description": "Duration of the media in seconds as defined by the sender",
                        "type": "integer"
                    }
                }
            },
            "PaidMediaPhoto": {
                "type": "object",
                "description": "The paid media is a photo.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the paid media, \"photo\", or \"live_photo\" for a live photo with its *live_photo* field",
                        "type": "string",
                        "enum": [
                            "live_photo",
                            "photo"
                        ]
                    },
                    "live_photo": {
                        "description": "The photo",
                        "$ref": "#/components/schemas/LivePhoto"
                    },
                    "photo": {
                        "description": "The photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    }
                }
            },
            "PaidMediaVideo": {
                "type": "object",
                "description": "The paid media is a video.",
                "required": [
                    "type",
                    "video"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the paid media, always \"video\"",
                        "type": "string",
                        "const": "video"
                    },
                    "video": {
                        "description": "The video",
                        "$ref": "#/components/schemas/Video"
                    }
                }
            },
            "PaidMediaInfo": {
                "type": "object",
                "description": "Describes the paid media added to a message.",
                "required": [
                    "star_count",
                    "paid_media"
                ],
                "properties": {
                    "star_count": {
                        "description": "The number of Telegram Stars that must be paid to buy access to the media",
                        "type": "integer"
                    },
                    "paid_media": {
                        "description": "Information about the paid media",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PaidMedia"
                        }
                    }
                }
            },
            "UserProfilePhotos": {
                "type": "object",
                "description": "This object represent a user's profile pictures.",
                "required": [
                    "total_count",
                    "photos"
                ],
                "properties": {
                    "total_count": {
                        "description": "Total number of profile pictures the target user has",
                        "type": "integer"
                    },
                    "photos": {
                        "description": "Requested profile pictures (in up to 4 sizes each)",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/PhotoSize"
                            }
                        }
                    }
                }
            },
            "StickerSet": {
                "type": "object",
                "description": "This object represents a sticker set.",
                "required": [
                    "name",
                    "title",
                    "sticker_type",
                    "stickers"
                ],
                "properties": {
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "title": {
                        "description": "Sticker set title",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format",
                        "$ref": "#/components/schemas/PhotoSize"
                    },
                    "sticker_type": {
                        "description": "Type of stickers in the set, currently can be \"regular\", \"mask\", or \"custom_emoji\"",
                        "type": "string",
                        "enum": [
                            "regular",
                            "mask",
                            "custom_emoji"
                        ]
                    },
                    "stickers": {
                        "description": "List of all set stickers",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Sticker"
                        }
                    }
                }
            },
            "PollAnswer": {
                "type": "object",
                "description": "This object represents an answer of a user in a non-anonymous poll.",
                "required": [
                    "poll_id",
                    "option_ids",
                    "option_persistent_ids"
                ],
                "properties": {
                    "poll_id": {
                        "description": "Unique poll identifier",
                        "type": "string"
                    },
                    "user": {
                        "description": "The user that changed the answer to the poll, if the voter isn't anonymous",
                        "$ref": "#/components/schemas/User"
                    },
                    "voter_chat": {
                        "description": "The chat that changed the answer to the poll, if the voter is anonymous",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "option_ids": {
                        "description": "0-based identifiers of chosen answer options. May be empty if the vote was retracted.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "option_persistent_ids": {
                        "description": "Persistent identifiers of the chosen answer options. May be empty if the vote was retracted.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "Giveaway": {
                "type": "object",
                "description": "This object represents a message about a scheduled giveaway.",
                "required": [
                    "chats",
                    "winners_selection_date",
                    "winner_count"
                ],
                "properties": {
                    "chats": {
                        "description": "The list of chats which the user must join to participate in the giveaway",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Chat"
                        }
                    },
                    "winners_selection_date": {
                        "description": "Point in time (Unix timestamp) when winners of the giveaway will be selected",
                        "type": "integer"
                    },
                    "winner_count": {
                        "description": "The number of users which are supposed to be selected as winners of the giveaway",
                        "type": "integer"
                    },
                    "only_new_members": {
                        "description": "*True*, if only users who join the chats after the giveaway started should be eligible to win",
                        "type": "boolean",
                        "const": true
                    },
                    "has_public_winners": {
                        "description": "*True*, if the list of giveaway winners will be visible to everyone",
                        "type": "boolean",
                        "const": true
                    },
                    "country_codes": {
                        "description": "A list of two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes indicating the countries from which eligible users for the giveaway must come. If empty, then all users can participate in the giveaway. Users with a phone number that was bought on Fragment can always participate in giveaways.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "prize_description": {
                        "description": "Description of additional giveaway prize",
                        "type": "string"
                    },
                    "premium_subscription_month_count": {
                        "description": "The number of months the Telegram Premium subscription won from the giveaway will be active for; for Telegram Premium giveaways only",
                        "type": "integer"
                    },
                    "prize_star_count": {
                        "description": "The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only",
                        "type": "integer"
                    }
                }
            },
            "LocationInput": {
                "type": "object",
                "description": "This object represents a point on the map.",
                "required": [
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude as defined by the sender",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude as defined by the sender",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters, 0-1500",
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1500
                    }
                }
            },
            "LocationOutput": {
                "type": "object",
                "description": "This object represents a point on the map.",
                "required": [
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude as defined by the sender",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude as defined by the sender",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters, 0-1500",
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1500
                    },
                    "live_period": {
                        "description": "Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.",
                        "type": "integer"
                    },
                    "heading": {
                        "description": "The direction in which user is moving, in degrees; 1-360. For active live locations only.",
                        "type": "integer"
                    },
                    "proximity_alert_radius": {
                        "description": "The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.",
                        "type": "integer"
                    }
                }
            },
            "MessageOrigin": {
                "description": "This object describes the origin of a message.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/MessageOriginUser"
                    },
                    {
                        "$ref": "#/components/schemas/MessageOriginHiddenUser"
                    },
                    {
                        "$ref": "#/components/schemas/MessageOriginChat"
                    },
                    {
                        "$ref": "#/components/schemas/MessageOriginChannel"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "user": "#/components/schemas/MessageOriginUser",
                        "hidden_user": "#/components/schemas/MessageOriginHiddenUser",
                        "chat": "#/components/schemas/MessageOriginChat",
                        "channel": "#/components/schemas/MessageOriginChannel"
                    }
                }
            },
            "MessageOriginUser": {
                "type": "object",
                "description": "The message was originally sent by a known user.",
                "required": [
                    "type",
                    "sender_user",
                    "date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the message origin, always \"user\"",
                        "type": "string",
                        "const": "user"
                    },
                    "sender_user": {
                        "description": "User that sent the message originally",
                        "$ref": "#/components/schemas/User"
                    },
                    "date": {
                        "description": "Date the message was sent originally in Unix time",
                        "type": "integer"
                    }
                }
            },
            "MessageOriginHiddenUser": {
                "type": "object",
                "description": "The message was originally sent by an unknown user.",
                "required": [
                    "type",
                    "date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the message origin, always \"hidden_user\"",
                        "type": "string",
                        "const": "hidden_user"
                    },
                    "sender_user_name": {
                        "description": "Name of the user that sent the message originally",
                        "type": "string"
                    },
                    "date": {
                        "description": "Date the message was sent originally in Unix time",
                        "type": "integer"
                    }
                }
            },
            "MessageOriginChat": {
                "type": "object",
                "description": "The message was originally sent on behalf of a chat to a group chat.",
                "required": [
                    "type",
                    "sender_chat",
                    "date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the message origin, always \"chat\"",
                        "type": "string",
                        "const": "chat"
                    },
                    "sender_chat": {
                        "description": "Chat that sent the message originally",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "author_signature": {
                        "description": "For messages originally sent by an anonymous chat administrator, original message author signature",
                        "type": "string"
                    },
                    "date": {
                        "description": "Date the message was sent originally in Unix time",
                        "type": "integer"
                    }
                }
            },
            "MessageOriginChannel": {
                "type": "object",
                "description": "The message was originally sent to a channel chat.",
                "required": [
                    "type",
                    "chat",
                    "message_id",
                    "date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the message origin, always \"channel\"",
                        "type": "string",
                        "const": "channel"
                    },
                    "chat": {
                        "description": "Channel chat to which the message was originally sent",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_id": {
                        "description": "Unique message identifier inside the chat",
                        "type": "integer"
                    },
                    "author_signature": {
                        "description": "Signature of the original post author",
                        "type": "string"
                    },
                    "date": {
                        "description": "Date the message was sent originally in Unix time",
                        "type": "integer"
                    }
                }
            },
            "Venue": {
                "type": "object",
                "description": "This object represents a venue.",
                "required": [
                    "location",
                    "title",
                    "address"
                ],
                "properties": {
                    "location": {
                        "description": "Venue location. Can't be a live location.",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "title": {
                        "description": "Name of the venue",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address of the venue",
                        "type": "string"
                    },
                    "foursquare_id": {
                        "description": "Foursquare identifier of the venue",
                        "type": "string"
                    },
                    "foursquare_type": {
                        "description": "Foursquare type of the venue. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".)",
                        "type": "string"
                    },
                    "google_place_id": {
                        "description": "Google Places identifier of the venue",
                        "type": "string"
                    },
                    "google_place_type": {
                        "description": "Google Places type of the venue. (See [supported types](https://developers.google.com/places/web-service/supported_types).)",
                        "type": "string"
                    }
                }
            },
            "Contact": {
                "type": "object",
                "description": "This object represents a phone contact.",
                "required": [
                    "phone_number",
                    "first_name"
                ],
                "properties": {
                    "phone_number": {
                        "description": "Contact's phone number",
                        "type": "string"
                    },
                    "first_name": {
                        "description": "Contact's first name",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Contact's last name",
                        "type": "string"
                    },
                    "vcard": {
                        "description": "Additional data about the contact in the form of a [vCard](https://en.wikipedia.org/wiki/VCard)",
                        "type": "string"
                    },
                    "user_id": {
                        "description": "Contact's user identifier in Telegram. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    }
                }
            },
            "Dice": {
                "type": "object",
                "description": "This object represents an animated emoji that displays a random value.",
                "required": [
                    "emoji",
                    "value"
                ],
                "properties": {
                    "emoji": {
                        "description": "Emoji on which the dice throw animation is based",
                        "type": "string"
                    },
                    "value": {
                        "description": "Value of the dice, 1-6 for \"🎲\", \"🎯\" and \"🎳\" base emoji, 1-5 for \"🏀\" and \"⚽\" base emoji, 1-64 for \"🎰\" base emoji",
                        "type": "integer"
                    }
                }
            },
            "Game": {
                "type": "object",
                "description": "This object represents a game. Use BotFather to create and edit games, their short names will act as unique identifiers.",
                "required": [
                    "title",
                    "description",
                    "photo"
                ],
                "properties": {
                    "title": {
                        "description": "Title of the game",
                        "type": "string"
                    },
                    "text": {
                        "description": "Brief description of the game or high scores included in the game message. Can be automatically edited to include current high scores for the game when the bot calls [setGameScore](https://core.telegram.org/bots/api#setgamescore), or manually edited using [editMessageText](https://core.telegram.org/bots/api#editmessagetext). 0-4096 characters.",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "Special entities that appear in *text*, such as usernames, URLs, bot commands, etc.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "description": {
                        "description": "Description of the game",
                        "type": "string"
                    },
                    "photo": {
                        "description": "Photo that will be displayed in the game message in chats",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "animation": {
                        "description": "Animation that will be displayed in the game message in chats. Upload via [BotFather](https://t.me/botfather).",
                        "$ref": "#/components/schemas/Animation"
                    }
                }
            },
            "PollOption": {
                "type": "object",
                "description": "This object contains information about one answer option in a poll.",
                "required": [
                    "persistent_id",
                    "text",
                    "voter_count"
                ],
                "properties": {
                    "persistent_id": {
                        "description": "Unique identifier of the option, persistent on option addition and deletion",
                        "type": "string"
                    },
                    "text": {
                        "description": "Option text, 1-100 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                    },
                    "text_entities": {
                        "description": "Special entities that appear in the option *text*. Currently, only custom emoji entities are allowed in poll option texts",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "media": {
                        "description": "Media added to the poll option",
                        "$ref": "#/components/schemas/PollMedia"
                    },
                    "voter_count": {
                        "description": "Number of users who voted for this option; may be 0 if unknown",
                        "type": "integer"
                    },
                    "added_by_user": {
                        "description": "User who added the option; omitted if the option wasn't added by a user after poll creation",
                        "$ref": "#/components/schemas/User"
                    },
                    "added_by_chat": {
                        "description": "Chat that added the option; omitted if the option wasn't added by a chat after poll creation",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "addition_date": {
                        "description": "Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll",
                        "type": "integer"
                    }
                }
            },
            "Poll": {
                "type": "object",
                "description": "This object contains information about a poll.",
                "required": [
                    "id",
                    "question",
                    "options",
                    "total_voter_count",
                    "is_closed",
                    "is_anonymous",
                    "allows_multiple_answers",
                    "allows_revoting",
                    "members_only",
                    "type"
                ],
                "properties": {
                    "id": {
                        "description": "Unique poll identifier",
                        "type": "string"
                    },
                    "question": {
                        "description": "Poll question, 1-300 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 300
                    },
                    "question_entities": {
                        "description": "Special entities that appear in the *question*. Currently, only custom emoji entities are allowed in poll questions",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "options": {
                        "description": "List of poll options",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PollOption"
                        }
                    },
                    "total_voter_count": {
                        "description": "Total number of users that voted in the poll",
                        "type": "integer"
                    },
                    "open_period": {
                        "description": "Amount of time in seconds the poll will be active after creation",
                        "type": "integer"
                    },
                    "close_date": {
                        "description": "Point in time (Unix timestamp) when the poll will be automatically closed",
                        "type": "integer"
                    },
                    "is_closed": {
                        "description": "*True*, if the poll is closed",
                        "type": "boolean"
                    },
                    "is_anonymous": {
                        "description": "*True*, if the poll is anonymous",
                        "type": "boolean"
                    },
                    "allows_multiple_answers": {
                        "description": "*True*, if the poll allows multiple answers",
                        "type": "boolean"
                    },
                    "allows_revoting": {
                        "description": "*True*, if the poll allows to change the chosen answer options",
                        "type": "boolean"
                    },
                    "members_only": {
                        "description": "*True* if voting is limited to users who have been members of the chat where the poll was originally sent for more than 24 hours",
                        "type": "boolean"
                    },
                    "country_codes": {
                        "description": "A list of two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes indicating the countries from which users can vote in the poll. The country code \"FT\" is used for users with anonymous numbers. If omitted, then users from any country can participate in the poll.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "type": {
                        "description": "Poll type, currently can be \"regular\" or \"quiz\"",
                        "type": "string",
                        "enum": [
                            "regular",
                            "quiz"
                        ]
                    },
                    "correct_option_id": {
                        "description": "The 0-based identifier of the correct answer option",
                        "type": "integer"
                    },
                    "correct_option_ids": {
                        "description": "Array of 0-based identifiers of the correct answer options. Available only for polls in quiz mode which are closed or were sent (not forwarded) by the bot or to the private chat with the bot.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "explanation": {
                        "description": "Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters",
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 200
                    },
                    "explanation_entities": {
                        "description": "Special entities like usernames, URLs, bot commands, etc. that appear in the *explanation*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "explanation_media": {
                        "description": "Media added to the quiz explanation",
                        "$ref": "#/components/schemas/PollMedia"
                    },
                    "description": {
                        "description": "Description of the poll; for polls inside the [Message](https://core.telegram.org/bots/api#message) object only",
                        "type": "string"
                    },
                    "description_entities": {
                        "description": "Special entities like usernames, URLs, bot commands, etc. that appear in the description",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "media": {
                        "description": "Media added to the poll description; for polls inside the [Message](https://core.telegram.org/bots/api#message) object only",
                        "$ref": "#/components/schemas/PollMedia"
                    }
                }
            },
            "PollOptionAdded": {
                "type": "object",
                "description": "Describes a service message about an option added to a poll.",
                "required": [
                    "option_persistent_id",
                    "option_text"
                ],
                "properties": {
                    "poll_message": {
                        "description": "Message containing the poll to which the option was added, if known. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/MaybeInaccessibleMessage"
                    },
                    "option_persistent_id": {
                        "description": "Unique identifier of the added option",
                        "type": "string"
                    },
                    "option_text": {
                        "description": "Option text",
                        "type": "string"
                    },
                    "option_entities": {
                        "description": "Special entities that appear in the option_text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    }
                }
            },
            "PollOptionDeleted": {
                "type": "object",
                "description": "Describes a service message about an option deleted from a poll.",
                "required": [
                    "option_persistent_id",
                    "option_text"
                ],
                "properties": {
                    "poll_message": {
                        "description": "Message containing the poll from which the option was deleted, if known. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/MaybeInaccessibleMessage"
                    },
                    "option_persistent_id": {
                        "description": "Unique identifier of the deleted option",
                        "type": "string"
                    },
                    "option_text": {
                        "description": "Option text",
                        "type": "string"
                    },
                    "option_entities": {
                        "description": "Special entities that appear in the option_text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    }
                }
            },
            "ChecklistTask": {
                "type": "object",
                "description": "Describes a task in a checklist.",
                "required": [
                    "id",
                    "text"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the task",
                        "type": "integer"
                    },
                    "text": {
                        "description": "Text of the task",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "Special entities that appear in the task text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "completed_by_user": {
                        "description": "User that completed the task; omitted if the task wasn't completed by a user",
                        "$ref": "#/components/schemas/User"
                    },
                    "completed_by_chat": {
                        "description": "Chat that completed the task; omitted if the task wasn't completed by a chat",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "completion_date": {
                        "description": "Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed",
                        "type": "integer"
                    }
                }
            },
            "Checklist": {
                "type": "object",
                "description": "Describes a checklist.",
                "required": [
                    "title",
                    "tasks"
                ],
                "properties": {
                    "title": {
                        "description": "Title of the checklist",
                        "type": "string"
                    },
                    "title_entities": {
                        "description": "Special entities that appear in the checklist title",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "tasks": {
                        "description": "List of tasks in the checklist",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ChecklistTask"
                        }
                    },
                    "others_can_add_tasks": {
                        "description": "*True*, if users other than the creator of the list can add tasks to the list",
                        "type": "boolean",
                        "const": true
                    },
                    "others_can_mark_tasks_as_done": {
                        "description": "*True*, if users other than the creator of the list can mark tasks as done or not done",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ChecklistTasksDone": {
                "type": "object",
                "description": "Describes a service message about checklist tasks marked as done or not done.",
                "properties": {
                    "checklist_message": {
                        "description": "Message containing the checklist whose tasks were marked as done or not done. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "marked_as_done_task_ids": {
                        "description": "Identifiers of the tasks that were marked as done",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "marked_as_not_done_task_ids": {
                        "description": "Identifiers of the tasks that were marked as not done",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    }
                }
            },
            "ChecklistTasksAdded": {
                "type": "object",
                "description": "Describes a service message about tasks added to a checklist.",
                "required": [
                    "tasks"
                ],
                "properties": {
                    "checklist_message": {
                        "description": "Message containing the checklist to which the tasks were added. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "tasks": {
                        "description": "List of tasks added to the checklist",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ChecklistTask"
                        }
                    }
                }
            },
            "SuggestedPostApprovalFailed": {
                "type": "object",
                "description": "Describes a service message about the failed approval of a suggested post. Currently, only caused by insufficient user funds at the time of approval.",
                "required": [
                    "price"
                ],
                "properties": {
                    "suggested_post_message": {
                        "description": "Message containing the suggested post whose approval has failed. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "price": {
                        "description": "Expected price of the post",
                        "$ref": "#/components/schemas/SuggestedPostPrice"
                    }
                }
            },
            "SuggestedPostApproved": {
                "type": "object",
                "description": "Describes a service message about the approval of a suggested post.",
                "required": [
                    "send_date"
                ],
                "properties": {
                    "suggested_post_message": {
                        "description": "Message containing the suggested post. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "price": {
                        "description": "Amount paid for the post",
                        "$ref": "#/components/schemas/SuggestedPostPrice"
                    },
                    "send_date": {
                        "description": "Date when the post will be published",
                        "type": "integer"
                    }
                }
            },
            "SuggestedPostDeclined": {
                "type": "object",
                "description": "Describes a service message about the rejection of a suggested post.",
                "properties": {
                    "suggested_post_message": {
                        "description": "Message containing the suggested post. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "comment": {
                        "description": "Comment with which the post was declined",
                        "type": "string"
                    }
                }
            },
            "SuggestedPostPaid": {
                "type": "object",
                "description": "Describes a service message about a successful payment for a suggested post.",
                "required": [
                    "currency"
                ],
                "properties": {
                    "suggested_post_message": {
                        "description": "Message containing the suggested post. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "currency": {
                        "description": "Currency in which the payment was made. Currently, one of \"XTR\" for Telegram Stars or \"TON\" for TON grams.",
                        "type": "string",
                        "enum": [
                            "XTR",
                            "TON"
                        ]
                    },
                    "star_amount": {
                        "description": "The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only",
                        "$ref": "#/components/schemas/StarAmount"
                    },
                    "amount": {
                        "description": "The amount of the currency that was received by the channel in nanograms; for payments in TON grams only",
                        "type": "integer"
                    }
                }
            },
            "SuggestedPostRefunded": {
                "type": "object",
                "description": "Describes a service message about a payment refund for a suggested post.",
                "required": [
                    "reason"
                ],
                "properties": {
                    "suggested_post_message": {
                        "description": "Message containing the suggested post. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain the *reply_to_message* field even if it itself is a reply.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "reason": {
                        "description": "Reason for the refund. Currently, one of \"post_deleted\" if the post was deleted within 24 hours of being posted or removed from scheduled messages without being posted, or \"payment_refunded\" if the payer refunded their payment.",
                        "type": "string",
                        "enum": [
                            "post_deleted",
                            "payment_refunded"
                        ]
                    }
                }
            },
            "Story": {
                "type": "object",
                "description": "This object represents a story.",
                "required": [
                    "chat",
                    "id"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat that posted the story",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "id": {
                        "description": "Unique identifier for the story in the chat",
                        "type": "integer"
                    }
                }
            },
            "ChatOwnerChanged": {
                "type": "object",
                "description": "Describes a service message about an ownership change in the chat.",
                "required": [
                    "new_owner"
                ],
                "properties": {
                    "new_owner": {
                        "description": "The new owner of the chat",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ChatOwnerLeft": {
                "type": "object",
                "description": "Describes a service message about the chat owner leaving the chat.",
                "properties": {
                    "new_owner": {
                        "description": "The user who will become the new owner of the chat if the previous owner does not return to the chat",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ForumTopicCreated": {
                "type": "object",
                "description": "This object represents a service message about a new forum topic created in the chat.",
                "required": [
                    "name",
                    "icon_color"
                ],
                "properties": {
                    "name": {
                        "description": "Name of the topic",
                        "type": "string"
                    },
                    "icon_color": {
                        "description": "Color of the topic icon in RGB format",
                        "type": "integer"
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown as the topic icon",
                        "type": "string"
                    },
                    "is_name_implicit": {
                        "description": "*True*, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ForumTopicEdited": {
                "type": "object",
                "description": "This object represents a service message about an edited forum topic.",
                "properties": {
                    "name": {
                        "description": "New name of the topic, if it was edited",
                        "type": "string"
                    },
                    "icon_custom_emoji_id": {
                        "description": "New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed",
                        "type": "string"
                    }
                }
            },
            "ForumTopic": {
                "type": "object",
                "description": "This object represents a forum topic.",
                "required": [
                    "message_thread_id",
                    "name",
                    "icon_color"
                ],
                "properties": {
                    "message_thread_id": {
                        "description": "Unique identifier of the forum topic",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Name of the topic",
                        "type": "string"
                    },
                    "icon_color": {
                        "description": "Color of the topic icon in RGB format",
                        "type": "integer"
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown as the topic icon",
                        "type": "string"
                    }
                }
            },
            "WebAppData": {
                "type": "object",
                "description": "Describes data sent from a [Web App](https://core.telegram.org/bots/webapps) to the bot.",
                "required": [
                    "button_text",
                    "data"
                ],
                "properties": {
                    "button_text": {
                        "description": "Text of the *web_app* keyboard button from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.",
                        "type": "string"
                    },
                    "data": {
                        "description": "The data. Be aware that a bad client can send arbitrary data in this field.",
                        "type": "string"
                    }
                }
            },
            "ProximityAlertTriggered": {
                "type": "object",
                "description": "This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.",
                "required": [
                    "traveler",
                    "watcher",
                    "distance"
                ],
                "properties": {
                    "traveler": {
                        "description": "User that triggered the alert",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/User"
                            },
                            {
                                "$ref": "#/components/schemas/Chat"
                            }
                        ]
                    },
                    "watcher": {
                        "description": "User that set the alert",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/User"
                            },
                            {
                                "$ref": "#/components/schemas/Chat"
                            }
                        ]
                    },
                    "distance": {
                        "description": "The distance between the users",
                        "type": "integer"
                    }
                }
            },
            "VideoChatScheduled": {
                "type": "object",
                "description": "This object represents a service message about a video chat scheduled in the chat.",
                "required": [
                    "start_date"
                ],
                "properties": {
                    "start_date": {
                        "description": "Point in time (Unix timestamp) when the video chat is supposed to be started by a chat administrator",
                        "type": "integer"
                    }
                }
            },
            "VideoChatEnded": {
                "type": "object",
                "description": "This object represents a service message about a video chat ended in the chat.",
                "required": [
                    "duration"
                ],
                "properties": {
                    "duration": {
                        "description": "Video chat duration in seconds",
                        "type": "integer"
                    }
                }
            },
            "VideoChatParticipantsInvited": {
                "type": "object",
                "description": "This object represents a service message about new members invited to a video chat.",
                "required": [
                    "users"
                ],
                "properties": {
                    "users": {
                        "description": "New members that were invited to the video chat",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/User"
                        }
                    }
                }
            },
            "MessageAutoDeleteTimerChanged": {
                "type": "object",
                "description": "This object represents a service message about a change in auto-delete timer settings.",
                "required": [
                    "message_auto_delete_time"
                ],
                "properties": {
                    "message_auto_delete_time": {
                        "description": "New auto-delete time for messages in the chat; in seconds",
                        "type": "integer"
                    }
                }
            },
            "WriteAccessAllowed": {
                "type": "object",
                "description": "This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method [requestWriteAccess](https://core.telegram.org/bots/webapps#initializing-mini-apps).",
                "properties": {
                    "web_app_name": {
                        "description": "Name of the Web App, if the access was granted when the Web App was launched from a link",
                        "type": "string"
                    },
                    "from_request": {
                        "description": "*True*, if the access was granted after the user accepted an explicit request from a Web App sent by the method [requestWriteAccess](https://core.telegram.org/bots/webapps#initializing-mini-apps)",
                        "type": "boolean",
                        "const": true
                    },
                    "from_attachment_menu": {
                        "description": "*True*, if the access was granted when the bot was added to the attachment or side menu",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "SharedUser": {
                "type": "object",
                "description": "This object contains information about a user that was shared with the bot using a [KeyboardButtonRequestUsers](https://core.telegram.org/bots/api#keyboardbuttonrequestusers) button.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Identifier of the shared user. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so 64-bit integers or double-precision float types are safe for storing these identifiers. The bot may not have access to the user and could be unable to use this identifier, unless the user is already known to the bot by some other means.",
                        "type": "integer"
                    },
                    "first_name": {
                        "description": "First name of the user, if the name was requested by the bot",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Last name of the user, if the name was requested by the bot",
                        "type": "string"
                    },
                    "username": {
                        "description": "Username of the user, if the username was requested by the bot",
                        "type": "string"
                    },
                    "photo": {
                        "description": "Available sizes of the chat photo, if the photo was requested by the bot",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    }
                }
            },
            "UsersShared": {
                "type": "object",
                "description": "This object contains information about the users whose identifiers were shared with the bot using a [KeyboardButtonRequestUsers](https://core.telegram.org/bots/api#keyboardbuttonrequestusers) button.",
                "required": [
                    "users",
                    "request_id"
                ],
                "properties": {
                    "users": {
                        "description": "Information about users shared with the bot",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/SharedUser"
                        }
                    },
                    "request_id": {
                        "description": "Identifier of the request",
                        "type": "integer"
                    }
                }
            },
            "ChatShared": {
                "type": "object",
                "description": "This object contains information about a chat that was shared with the bot using a [KeyboardButtonRequestChat](https://core.telegram.org/bots/api#keyboardbuttonrequestchat) button.",
                "required": [
                    "chat_id",
                    "request_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Identifier of the shared chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot may not have access to the chat and could be unable to use this identifier, unless the chat is already known to the bot by some other means.",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Title of the chat, if the title was requested by the bot",
                        "type": "string"
                    },
                    "username": {
                        "description": "Username of the chat, if the username was requested by the bot and available",
                        "type": "string"
                    },
                    "photo": {
                        "description": "Available sizes of the chat photo, if the photo was requested by the bot",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "request_id": {
                        "description": "Identifier of the request",
                        "type": "integer"
                    }
                }
            },
            "ManagedBotCreated": {
                "type": "object",
                "description": "This object contains information about the bot that was created to be managed by the current bot.",
                "required": [
                    "bot"
                ],
                "properties": {
                    "bot": {
                        "description": "Information about the bot. The bot's token can be fetched using the method [getManagedBotToken](https://core.telegram.org/bots/api#getmanagedbottoken).",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ManagedBotUpdated": {
                "type": "object",
                "description": "This object contains information about the creation, token update, or owner update of a bot that is managed by the current bot.",
                "required": [
                    "user",
                    "bot"
                ],
                "properties": {
                    "user": {
                        "description": "User that created the bot",
                        "$ref": "#/components/schemas/User"
                    },
                    "bot": {
                        "description": "Information about the bot. Token of the bot can be fetched using the method [getManagedBotToken](https://core.telegram.org/bots/api#getmanagedbottoken).",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "BotSubscriptionUpdated": {
                "type": "object",
                "description": "This object contains information about changes to a user payment subscription toward the current bot.",
                "required": [
                    "user",
                    "invoice_payload",
                    "state"
                ],
                "properties": {
                    "user": {
                        "description": "User who subscribed for payments toward the bot",
                        "$ref": "#/components/schemas/User"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload",
                        "type": "string"
                    },
                    "state": {
                        "description": "The new state of the subscription. Currently, it can be one of \"canceled\" if the user canceled the subscription, \"active\" if the user re-enabled a previously canceled subscription, or \"failed\" if payment for the subscription failed.",
                        "type": "string",
                        "enum": [
                            "canceled",
                            "active",
                            "failed"
                        ]
                    }
                }
            },
            "MessageGenerationStopped": {
                "type": "object",
                "description": "This object describes an update about a user stopping message generation.",
                "required": [
                    "chat",
                    "draft_id"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat in which the message is generated",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_thread_id": {
                        "description": "Unique identifier of the message thread in which the message is generated",
                        "type": "integer"
                    },
                    "draft_id": {
                        "description": "Unique identifier of the message draft which was stopped",
                        "type": "string"
                    }
                }
            },
            "CommunityChatAdded": {
                "type": "object",
                "description": "Describes a service message about a chat or a bot being added to a community.",
                "required": [
                    "community"
                ],
                "properties": {
                    "community": {
                        "description": "The new community to which the chat or the bot belongs",
                        "$ref": "#/components/schemas/Community"
                    }
                }
            },
            "CommunityChatJoined": {
                "type": "object",
                "description": "Describes a service message about a chat being joined by a user from a community.",
                "required": [
                    "community"
                ],
                "properties": {
                    "community": {
                        "description": "The community from which the chat was joined",
                        "$ref": "#/components/schemas/Community"
                    }
                }
            },
            "GiveawayCreated": {
                "type": "object",
                "description": "This object represents a service message about the creation of a scheduled giveaway.",
                "properties": {
                    "prize_star_count": {
                        "description": "The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only",
                        "type": "integer"
                    }
                }
            },
            "GiveawayWinners": {
                "type": "object",
                "description": "This object represents a message about the completion of a giveaway with public winners.",
                "required": [
                    "chat",
                    "giveaway_message_id",
                    "winners_selection_date",
                    "winner_count",
                    "winners"
                ],
                "properties": {
                    "chat": {
                        "description": "The chat that created the giveaway",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "giveaway_message_id": {
                        "description": "Identifier of the message with the giveaway in the chat",
                        "type": "integer"
                    },
                    "additional_chat_count": {
                        "description": "The number of other chats the user had to join in order to be eligible for the giveaway",
                        "type": "integer"
                    },
                    "winners_selection_date": {
                        "description": "Point in time (Unix timestamp) when winners of the giveaway were selected",
                        "type": "integer"
                    },
                    "only_new_members": {
                        "description": "*True*, if only users who had joined the chats after the giveaway started were eligible to win",
                        "type": "boolean",
                        "const": true
                    },
                    "was_refunded": {
                        "description": "*True*, if the giveaway was canceled because the payment for it was refunded",
                        "type": "boolean",
                        "const": true
                    },
                    "premium_subscription_month_count": {
                        "description": "The number of months the Telegram Premium subscription won from the giveaway will be active for; for Telegram Premium giveaways only",
                        "type": "integer"
                    },
                    "prize_star_count": {
                        "description": "The number of Telegram Stars that were split between giveaway winners; for Telegram Star giveaways only",
                        "type": "integer"
                    },
                    "prize_description": {
                        "description": "Description of additional giveaway prize",
                        "type": "string"
                    },
                    "winner_count": {
                        "description": "Total number of winners in the giveaway",
                        "type": "integer"
                    },
                    "unclaimed_prize_count": {
                        "description": "Number of undistributed prizes",
                        "type": "integer"
                    },
                    "winners": {
                        "description": "List of winners of the giveaway, at most 100 elements",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/User"
                        },
                        "maxItems": 100
                    }
                }
            },
            "GiveawayCompleted": {
                "type": "object",
                "description": "This object represents a service message about the completion of a giveaway without public winners.",
                "required": [
                    "winner_count"
                ],
                "properties": {
                    "winner_count": {
                        "description": "Number of winners in the giveaway",
                        "type": "integer"
                    },
                    "unclaimed_prize_count": {
                        "description": "Number of undistributed prizes",
                        "type": "integer"
                    },
                    "is_star_giveaway": {
                        "description": "*True*, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.",
                        "type": "boolean",
                        "const": true
                    },
                    "giveaway_message": {
                        "description": "Message with the giveaway that was completed, if it wasn't deleted",
                        "$ref": "#/components/schemas/Message"
                    }
                }
            },
            "PaidMessagePriceChanged": {
                "type": "object",
                "description": "Describes a service message about a change in the price of paid messages within a chat.",
                "required": [
                    "paid_message_star_count"
                ],
                "properties": {
                    "paid_message_star_count": {
                        "description": "The new number of Telegram Stars that must be paid by non-administrator users of the supergroup chat for each sent message",
                        "type": "integer"
                    }
                }
            },
            "DirectMessagePriceChanged": {
                "type": "object",
                "description": "Describes a service message about a change in the price of direct messages sent to a channel chat.",
                "required": [
                    "are_direct_messages_enabled"
                ],
                "properties": {
                    "are_direct_messages_enabled": {
                        "description": "*True*, if direct messages are enabled for the channel chat; *False* otherwise",
                        "type": "boolean"
                    },
                    "direct_message_star_count": {
                        "description": "The new number of Telegram Stars that must be paid by users for each direct message sent to the channel. Does not apply to users who have been exempted by administrators. Defaults to 0.",
                        "type": "integer"
                    }
                }
            },
            "DirectMessagesTopic": {
                "type": "object",
                "description": "Describes a topic of a direct messages chat.",
                "required": [
                    "topic_id",
                    "user"
                ],
                "properties": {
                    "topic_id": {
                        "description": "Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "user": {
                        "description": "Information about the user that created the topic. Currently, it is always present.",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ExternalReplyInfo": {
                "type": "object",
                "description": "This object contains information about a message that is being replied to, which may come from another chat or forum topic.",
                "required": [
                    "origin"
                ],
                "properties": {
                    "origin": {
                        "description": "Origin of the message replied to by the given message",
                        "$ref": "#/components/schemas/MessageOrigin"
                    },
                    "chat": {
                        "description": "Chat the original message belongs to. Available only if the chat is a supergroup or a channel.",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_id": {
                        "description": "Unique message identifier inside the original chat. Available only if the original chat is a supergroup or a channel.",
                        "type": "integer"
                    },
                    "link_preview_options": {
                        "description": "Options used for link preview generation for the original message, if it is a text message",
                        "$ref": "#/components/schemas/LinkPreviewOptionsOutput"
                    },
                    "animation": {
                        "description": "Message is an animation, information about the animation",
                        "$ref": "#/components/schemas/Animation"
                    },
                    "has_media_spoiler": {
                        "description": "*True*, if the message media is covered by a spoiler animation",
                        "type": "boolean",
                        "const": true
                    },
                    "audio": {
                        "description": "Message is an audio file, information about the file",
                        "$ref": "#/components/schemas/Audio"
                    },
                    "document": {
                        "description": "Message is a general file, information about the file",
                        "$ref": "#/components/schemas/Document"
                    },
                    "paid_media": {
                        "description": "Message contains paid media; information about the paid media",
                        "$ref": "#/components/schemas/PaidMediaInfo"
                    },
                    "live_photo": {
                        "description": "Message is a live photo, information about the live photo",
                        "$ref": "#/components/schemas/LivePhoto"
                    },
                    "photo": {
                        "description": "Message is a photo, available sizes of the photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "sticker": {
                        "description": "Message is a sticker, information about the sticker",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "video": {
                        "description": "Message is a video, information about the video",
                        "$ref": "#/components/schemas/Video"
                    },
                    "video_note": {
                        "description": "Message is a [video note](https://telegram.org/blog/video-messages-and-telescope), information about the video message",
                        "$ref": "#/components/schemas/VideoNote"
                    },
                    "voice": {
                        "description": "Message is a voice message, information about the file",
                        "$ref": "#/components/schemas/Voice"
                    },
                    "location": {
                        "description": "Message is a shared location, information about the location",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "venue": {
                        "description": "Message is a venue, information about the venue",
                        "$ref": "#/components/schemas/Venue"
                    },
                    "contact": {
                        "description": "Message is a shared contact, information about the contact",
                        "$ref": "#/components/schemas/Contact"
                    },
                    "dice": {
                        "description": "Message is a dice with random value",
                        "$ref": "#/components/schemas/Dice"
                    },
                    "game": {
                        "description": "Message is a game, information about the game. [More about games »](https://core.telegram.org/bots/api#games)",
                        "$ref": "#/components/schemas/Game"
                    },
                    "poll": {
                        "description": "Message is a native poll, information about the poll",
                        "$ref": "#/components/schemas/Poll"
                    },
                    "story": {
                        "description": "Message is a forwarded story",
                        "$ref": "#/components/schemas/Story"
                    },
                    "checklist": {
                        "description": "Message is a checklist",
                        "$ref": "#/components/schemas/Checklist"
                    },
                    "invoice": {
                        "description": "Message is an invoice for a [payment](https://core.telegram.org/bots/api#payments), information about the invoice. [More about payments »](https://core.telegram.org/bots/api#payments)",
                        "$ref": "#/components/schemas/Invoice"
                    },
                    "giveaway": {
                        "description": "Message is a scheduled giveaway, information about the giveaway",
                        "$ref": "#/components/schemas/Giveaway"
                    },
                    "giveaway_winners": {
                        "description": "A giveaway with public winners was completed",
                        "$ref": "#/components/schemas/GiveawayWinners"
                    }
                }
            },
            "Message": {
                "type": "object",
                "description": "This object represents a message.",
                "required": [
                    "message_id",
                    "chat",
                    "date"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection from which the message was received. If non-empty, the message belongs to a chat of the corresponding business account that is independent from any potential bot chat which might share the same identifier.",
                        "type": "string"
                    },
                    "sender_business_bot": {
                        "description": "The bot that actually sent the message on behalf of the business account. Available only for outgoing messages sent on behalf of the connected business account.",
                        "$ref": "#/components/schemas/User"
                    },
                    "message_id": {
                        "description": "Unique message identifier inside this chat; 0 for ephemeral messages. In specific instances (e.g., a message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "For ephemeral messages, identifier of the ephemeral message inside this chat. The identifier may be reused for another ephemeral message after the message is deleted or expires.",
                        "type": "integer"
                    },
                    "from": {
                        "description": "Sender of the message; may be empty for messages sent to channels. For backward compatibility, if the message was sent on behalf of a chat, the field contains a fake sender user in non-channel chats.",
                        "$ref": "#/components/schemas/User"
                    },
                    "author_signature": {
                        "description": "Signature of the post author for messages in channels, or the custom title of an anonymous group administrator",
                        "type": "string"
                    },
                    "sender_chat": {
                        "description": "Sender of the message when sent on behalf of a chat. For example, the supergroup itself for messages sent by its anonymous administrators or a linked channel for messages automatically forwarded to the channel's discussion group. For backward compatibility, if the message was sent on behalf of a chat, the field *from* contains a fake sender user in non-channel chats.",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "chat": {
                        "description": "Chat the message belongs to",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "date": {
                        "description": "Date the message was sent in Unix time. It is always a positive number, representing a valid date.",
                        "type": "integer"
                    },
                    "edit_date": {
                        "description": "Date the message was last edited in Unix time",
                        "type": "integer"
                    },
                    "message_thread_id": {
                        "description": "Unique identifier of a message thread or forum topic to which the message belongs; for supergroups and private chats only",
                        "type": "integer"
                    },
                    "receiver_user": {
                        "description": "For ephemeral messages, the user who received the message",
                        "$ref": "#/components/schemas/User"
                    },
                    "forward_origin": {
                        "description": "Information about the original message for forwarded messages",
                        "$ref": "#/components/schemas/MessageOrigin"
                    },
                    "is_automatic_forward": {
                        "description": "*True*, if the message is a channel post that was automatically forwarded to the connected discussion group",
                        "type": "boolean",
                        "const": true
                    },
                    "reply_to_message": {
                        "description": "For replies in the same chat and message thread, the original message. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain further *reply_to_message* fields even if it itself is a reply. If the message is a reply to an ephemeral message, then this field may be omitted.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "external_reply": {
                        "description": "Information about the message that is being replied to, which may come from another chat or forum topic",
                        "$ref": "#/components/schemas/ExternalReplyInfo"
                    },
                    "quote": {
                        "description": "For replies that quote part of the original message, the quoted part of the message",
                        "$ref": "#/components/schemas/TextQuote"
                    },
                    "reply_to_checklist_task_id": {
                        "description": "Identifier of the specific checklist task that is being replied to",
                        "type": "integer"
                    },
                    "reply_to_poll_option_id": {
                        "description": "Persistent identifier of the specific poll option that is being replied to",
                        "type": "string"
                    },
                    "reply_to_story": {
                        "description": "For replies to a story, the original story",
                        "$ref": "#/components/schemas/Story"
                    },
                    "media_group_id": {
                        "description": "The unique identifier inside this chat of a media message group this message belongs to",
                        "type": "string"
                    },
                    "guest_query_id": {
                        "description": "The unique identifier for the guest query. Use this identifier with the method [answerGuestQuery](https://core.telegram.org/bots/api#answerguestquery) to send a response message. If non-empty, the message belongs to the chat where the guest bot was summoned, which may not coincide with other existing bot chats sharing the same identifier.",
                        "type": "string"
                    },
                    "text": {
                        "description": "For text messages, the actual UTF-8 text of the message",
                        "type": "string"
                    },
                    "entities": {
                        "description": "For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "link_preview_options": {
                        "description": "Options used for link preview generation for the message, if it is a text message and link preview options were changed",
                        "$ref": "#/components/schemas/LinkPreviewOptionsOutput"
                    },
                    "rich_message": {
                        "description": "Message is a rich formatted message",
                        "$ref": "#/components/schemas/RichMessage"
                    },
                    "animation": {
                        "description": "Message is an animation, information about the animation. For backward compatibility, when this field is set, the *document* field will also be set.",
                        "$ref": "#/components/schemas/Animation"
                    },
                    "document": {
                        "description": "Message is a general file, information about the file",
                        "$ref": "#/components/schemas/Document"
                    },
                    "caption": {
                        "description": "Caption for the animation, audio, document, paid media, photo, video or voice",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "*True*, if the caption must be shown above the message media",
                        "type": "boolean",
                        "const": true
                    },
                    "has_media_spoiler": {
                        "description": "*True*, if the message media is covered by a spoiler animation",
                        "type": "boolean",
                        "const": true
                    },
                    "audio": {
                        "description": "Message is an audio file, information about the file",
                        "$ref": "#/components/schemas/Audio"
                    },
                    "paid_media": {
                        "description": "Message contains paid media; information about the paid media",
                        "$ref": "#/components/schemas/PaidMediaInfo"
                    },
                    "live_photo": {
                        "description": "Message is a live photo, information about the live photo. For backward compatibility, when this field is set, the *photo* field will also be set.",
                        "$ref": "#/components/schemas/LivePhoto"
                    },
                    "photo": {
                        "description": "Message is a photo, available sizes of the photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "sticker": {
                        "description": "Message is a sticker, information about the sticker",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "video": {
                        "description": "Message is a video, information about the video",
                        "$ref": "#/components/schemas/Video"
                    },
                    "video_note": {
                        "description": "Message is a [video note](https://telegram.org/blog/video-messages-and-telescope), information about the video message",
                        "$ref": "#/components/schemas/VideoNote"
                    },
                    "voice": {
                        "description": "Message is a voice message, information about the file",
                        "$ref": "#/components/schemas/Voice"
                    },
                    "location": {
                        "description": "Message is a shared location, information about the location",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "venue": {
                        "description": "Message is a venue, information about the venue. For backward compatibility, when this field is set, the *location* field will also be set.",
                        "$ref": "#/components/schemas/Venue"
                    },
                    "contact": {
                        "description": "Message is a shared contact, information about the contact",
                        "$ref": "#/components/schemas/Contact"
                    },
                    "dice": {
                        "description": "Message is a dice with random value",
                        "$ref": "#/components/schemas/Dice"
                    },
                    "game": {
                        "description": "Message is a game, information about the game. [More about games »](https://core.telegram.org/bots/api#games)",
                        "$ref": "#/components/schemas/Game"
                    },
                    "poll": {
                        "description": "Message is a native poll, information about the poll",
                        "$ref": "#/components/schemas/Poll"
                    },
                    "story": {
                        "description": "Message is a forwarded story",
                        "$ref": "#/components/schemas/Story"
                    },
                    "checklist": {
                        "description": "Message is a checklist",
                        "$ref": "#/components/schemas/Checklist"
                    },
                    "invoice": {
                        "description": "Message is an invoice for a [payment](https://core.telegram.org/bots/api#payments), information about the invoice. [More about payments »](https://core.telegram.org/bots/api#payments)",
                        "$ref": "#/components/schemas/Invoice"
                    },
                    "video_chat_scheduled": {
                        "description": "Service message: video chat scheduled",
                        "$ref": "#/components/schemas/VideoChatScheduled"
                    },
                    "video_chat_started": {
                        "description": "Service message: video chat started",
                        "$ref": "#/components/schemas/VideoChatStarted"
                    },
                    "video_chat_ended": {
                        "description": "Service message: video chat ended",
                        "$ref": "#/components/schemas/VideoChatEnded"
                    },
                    "video_chat_participants_invited": {
                        "description": "Service message: new participants invited to a video chat",
                        "$ref": "#/components/schemas/VideoChatParticipantsInvited"
                    },
                    "poll_option_added": {
                        "description": "Service message: answer option was added to a poll",
                        "$ref": "#/components/schemas/PollOptionAdded"
                    },
                    "poll_option_deleted": {
                        "description": "Service message: answer option was deleted from a poll",
                        "$ref": "#/components/schemas/PollOptionDeleted"
                    },
                    "group_chat_created": {
                        "description": "Service message: the group has been created",
                        "type": "boolean",
                        "const": true
                    },
                    "supergroup_chat_created": {
                        "description": "Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup.",
                        "type": "boolean",
                        "const": true
                    },
                    "channel_chat_created": {
                        "description": "Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel.",
                        "type": "boolean",
                        "const": true
                    },
                    "new_chat_title": {
                        "description": "A chat title was changed to this value",
                        "type": "string"
                    },
                    "new_chat_photo": {
                        "description": "A chat photo was change to this value",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "delete_chat_photo": {
                        "description": "Service message: the chat photo was deleted",
                        "type": "boolean",
                        "const": true
                    },
                    "chat_owner_left": {
                        "description": "Service message: chat owner has left",
                        "$ref": "#/components/schemas/ChatOwnerLeft"
                    },
                    "chat_owner_changed": {
                        "description": "Service message: chat owner has changed",
                        "$ref": "#/components/schemas/ChatOwnerChanged"
                    },
                    "new_chat_members": {
                        "description": "New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/User"
                        }
                    },
                    "community_chat_joined": {
                        "description": "Service message: chat was joined by a user from a [Community](https://core.telegram.org/bots/api#community)",
                        "$ref": "#/components/schemas/CommunityChatJoined"
                    },
                    "left_chat_member": {
                        "description": "A member was removed from the group, information about them (this member may be the bot itself)",
                        "$ref": "#/components/schemas/User"
                    },
                    "community_chat_added": {
                        "description": "Service message: chat or bot added to a [Community](https://core.telegram.org/bots/api#community)",
                        "$ref": "#/components/schemas/CommunityChatAdded"
                    },
                    "community_chat_removed": {
                        "description": "Service message: chat or bot removed from a [Community](https://core.telegram.org/bots/api#community)",
                        "$ref": "#/components/schemas/CommunityChatRemoved"
                    },
                    "migrate_to_chat_id": {
                        "description": "The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "migrate_from_chat_id": {
                        "description": "The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "pinned_message": {
                        "description": "Specified message was pinned. Note that the [Message](https://core.telegram.org/bots/api#message) object in this field will not contain further *reply_to_message* fields even if it itself is a reply.",
                        "$ref": "#/components/schemas/MaybeInaccessibleMessage"
                    },
                    "chat_background_set": {
                        "description": "Service message: chat background set",
                        "$ref": "#/components/schemas/ChatBackground"
                    },
                    "message_auto_delete_timer_changed": {
                        "description": "Service message: auto-delete timer settings changed in the chat",
                        "$ref": "#/components/schemas/MessageAutoDeleteTimerChanged"
                    },
                    "boost_added": {
                        "description": "Service message: user boosted the chat",
                        "$ref": "#/components/schemas/ChatBoostAdded"
                    },
                    "forum_topic_created": {
                        "description": "Service message: forum topic created",
                        "$ref": "#/components/schemas/ForumTopicCreated"
                    },
                    "forum_topic_edited": {
                        "description": "Service message: forum topic edited",
                        "$ref": "#/components/schemas/ForumTopicEdited"
                    },
                    "forum_topic_closed": {
                        "description": "Service message: forum topic closed",
                        "$ref": "#/components/schemas/ForumTopicClosed"
                    },
                    "forum_topic_reopened": {
                        "description": "Service message: forum topic reopened",
                        "$ref": "#/components/schemas/ForumTopicReopened"
                    },
                    "general_forum_topic_hidden": {
                        "description": "Service message: the 'General' forum topic hidden",
                        "$ref": "#/components/schemas/GeneralForumTopicHidden"
                    },
                    "general_forum_topic_unhidden": {
                        "description": "Service message: the 'General' forum topic unhidden",
                        "$ref": "#/components/schemas/GeneralForumTopicUnhidden"
                    },
                    "managed_bot_created": {
                        "description": "Service message: user created a bot that will be managed by the current bot",
                        "$ref": "#/components/schemas/ManagedBotCreated"
                    },
                    "successful_payment": {
                        "description": "Message is a service message about a successful payment, information about the payment. [More about payments »](https://core.telegram.org/bots/api#payments)",
                        "$ref": "#/components/schemas/SuccessfulPayment"
                    },
                    "refunded_payment": {
                        "description": "Message is a service message about a refunded payment, information about the payment. [More about payments »](https://core.telegram.org/bots/api#payments)",
                        "$ref": "#/components/schemas/RefundedPayment"
                    },
                    "giveaway_created": {
                        "description": "Service message: a scheduled giveaway was created",
                        "$ref": "#/components/schemas/GiveawayCreated"
                    },
                    "giveaway": {
                        "description": "Message is a scheduled giveaway, information about the giveaway",
                        "$ref": "#/components/schemas/Giveaway"
                    },
                    "giveaway_completed": {
                        "description": "Service message: a giveaway without public winners was completed",
                        "$ref": "#/components/schemas/GiveawayCompleted"
                    },
                    "giveaway_winners": {
                        "description": "A giveaway with public winners was completed",
                        "$ref": "#/components/schemas/GiveawayWinners"
                    },
                    "gift_upgrade_sent": {
                        "description": "Service message: upgrade of a gift was purchased after the gift was sent",
                        "$ref": "#/components/schemas/GiftInfo"
                    },
                    "gift": {
                        "description": "Service message: a regular gift was sent or received",
                        "$ref": "#/components/schemas/GiftInfo"
                    },
                    "unique_gift": {
                        "description": "Service message: a unique gift was sent or received",
                        "$ref": "#/components/schemas/UniqueGiftInfo"
                    },
                    "paid_message_price_changed": {
                        "description": "Service message: the price for paid messages has changed in the chat",
                        "$ref": "#/components/schemas/PaidMessagePriceChanged"
                    },
                    "direct_message_price_changed": {
                        "description": "Service message: the price for paid messages in the corresponding direct messages chat of a channel has changed",
                        "$ref": "#/components/schemas/DirectMessagePriceChanged"
                    },
                    "checklist_tasks_done": {
                        "description": "Service message: some tasks in a checklist were marked as done or not done",
                        "$ref": "#/components/schemas/ChecklistTasksDone"
                    },
                    "checklist_tasks_added": {
                        "description": "Service message: tasks were added to a checklist",
                        "$ref": "#/components/schemas/ChecklistTasksAdded"
                    },
                    "suggested_post_approval_failed": {
                        "description": "Service message: approval of a suggested post has failed",
                        "$ref": "#/components/schemas/SuggestedPostApprovalFailed"
                    },
                    "suggested_post_approved": {
                        "description": "Service message: a suggested post was approved",
                        "$ref": "#/components/schemas/SuggestedPostApproved"
                    },
                    "suggested_post_declined": {
                        "description": "Service message: a suggested post was declined",
                        "$ref": "#/components/schemas/SuggestedPostDeclined"
                    },
                    "suggested_post_paid": {
                        "description": "Service message: payment for a suggested post was received",
                        "$ref": "#/components/schemas/SuggestedPostPaid"
                    },
                    "suggested_post_refunded": {
                        "description": "Service message: payment for a suggested post was refunded",
                        "$ref": "#/components/schemas/SuggestedPostRefunded"
                    },
                    "users_shared": {
                        "description": "Service message: users were shared with the bot",
                        "$ref": "#/components/schemas/UsersShared"
                    },
                    "chat_shared": {
                        "description": "Service message: a chat was shared with the bot",
                        "$ref": "#/components/schemas/ChatShared"
                    },
                    "connected_website": {
                        "description": "The domain name of the website on which the user has logged in. [More about Telegram Login »](https://core.telegram.org/widgets/login)",
                        "type": "string"
                    },
                    "write_access_allowed": {
                        "description": "Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method [requestWriteAccess](https://core.telegram.org/bots/webapps#initializing-mini-apps)",
                        "$ref": "#/components/schemas/WriteAccessAllowed"
                    },
                    "web_app_data": {
                        "description": "Service message: data sent by a Web App",
                        "$ref": "#/components/schemas/WebAppData"
                    },
                    "passport_data": {
                        "description": "Telegram Passport data",
                        "$ref": "#/components/schemas/PassportData"
                    },
                    "proximity_alert_triggered": {
                        "description": "Service message: a user in the chat triggered another user's proximity alert while sharing Live Location",
                        "$ref": "#/components/schemas/ProximityAlertTriggered"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message. `login_url` buttons are represented as ordinary `url` buttons.",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupOutput"
                    },
                    "via_bot": {
                        "description": "Bot through which the message was sent",
                        "$ref": "#/components/schemas/User"
                    },
                    "guest_bot_caller_user": {
                        "description": "For a message sent by a guest bot, this is the user whose original message triggered the bot's response",
                        "$ref": "#/components/schemas/User"
                    },
                    "guest_bot_caller_chat": {
                        "description": "For a message sent by a guest bot, this is the chat whose original message triggered the bot's response",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "has_protected_content": {
                        "description": "*True*, if the message can't be forwarded",
                        "type": "boolean",
                        "const": true
                    },
                    "is_topic_message": {
                        "description": "*True*, if the message is sent to a topic in a forum supergroup or a private chat with the bot",
                        "type": "boolean",
                        "const": true
                    },
                    "direct_messages_topic": {
                        "description": "Information about the direct messages chat topic that contains the message",
                        "$ref": "#/components/schemas/DirectMessagesTopic"
                    },
                    "is_from_offline": {
                        "description": "*True*, if the message was sent by an implicit action, for example, as an away or a greeting business message, or as a scheduled message",
                        "type": "boolean",
                        "const": true
                    },
                    "effect_id": {
                        "description": "Unique identifier of the message effect added to the message",
                        "type": "string"
                    },
                    "sender_boost_count": {
                        "description": "If the sender of the message boosted the chat, the number of boosts added by the user",
                        "type": "integer"
                    },
                    "sender_tag": {
                        "description": "Tag or custom title of the sender of the message; for supergroups only",
                        "type": "string"
                    },
                    "paid_star_count": {
                        "description": "The number of Telegram Stars that were paid by the sender of the message to send it",
                        "type": "integer"
                    },
                    "is_paid_post": {
                        "description": "*True*, if the message is a paid post. Note that such posts must not be deleted for 24 hours to receive the payment and can't be edited.",
                        "type": "boolean",
                        "const": true
                    },
                    "suggested_post_info": {
                        "description": "Information about suggested post parameters if the message is a suggested post in a channel direct messages chat. If the message is an approved or declined suggested post, then it can't be edited.",
                        "$ref": "#/components/schemas/SuggestedPostInfo"
                    }
                }
            },
            "InaccessibleMessage": {
                "type": "object",
                "description": "This object describes a message that was deleted or is otherwise inaccessible to the bot.",
                "required": [
                    "message_id",
                    "chat",
                    "date"
                ],
                "properties": {
                    "message_id": {
                        "description": "Unique message identifier inside the chat",
                        "type": "integer"
                    },
                    "chat": {
                        "description": "Chat the message belonged to",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "date": {
                        "description": "Always 0. The field can be used to differentiate regular and inaccessible messages.",
                        "type": "integer"
                    }
                }
            },
            "EncryptedPassportElement": {
                "type": "object",
                "description": "Describes documents or other Telegram Passport elements shared with the bot by the user.",
                "required": [
                    "type",
                    "hash"
                ],
                "properties": {
                    "type": {
                        "description": "Element type. Currently, can be \"personal_details\", \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\", \"address\", \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\", \"temporary_registration\", \"phone_number\", or \"email\".",
                        "type": "string",
                        "enum": [
                            "personal_details",
                            "passport",
                            "driver_license",
                            "identity_card",
                            "internal_passport",
                            "address",
                            "utility_bill",
                            "bank_statement",
                            "rental_agreement",
                            "passport_registration",
                            "temporary_registration",
                            "phone_number",
                            "email"
                        ]
                    },
                    "phone_number": {
                        "description": "User's verified phone number; available only for \"phone_number\" type",
                        "type": "string"
                    },
                    "email": {
                        "description": "User's verified email address; available only for \"email\" type",
                        "type": "string"
                    },
                    "data": {
                        "description": "Base64-encoded encrypted Telegram Passport element data provided by the user; available only for \"personal_details\", \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\" and \"address\" types. Can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "type": "string"
                    },
                    "files": {
                        "description": "Array of encrypted files with documents provided by the user; available only for \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\" and \"temporary_registration\" types. Files can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PassportFile"
                        }
                    },
                    "translation": {
                        "description": "Array of encrypted files with translated versions of documents provided by the user; available if requested for \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\", \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\" and \"temporary_registration\" types. Files can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PassportFile"
                        }
                    },
                    "front_side": {
                        "description": "Encrypted file with the front side of the document, provided by the user; available only for \"passport\", \"driver_license\", \"identity_card\" and \"internal_passport\". The file can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "$ref": "#/components/schemas/PassportFile"
                    },
                    "reverse_side": {
                        "description": "Encrypted file with the reverse side of the document, provided by the user; available only for \"driver_license\" and \"identity_card\". The file can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "$ref": "#/components/schemas/PassportFile"
                    },
                    "selfie": {
                        "description": "Encrypted file with the selfie of the user holding a document, provided by the user; available if requested for \"passport\", \"driver_license\", \"identity_card\" and \"internal_passport\". The file can be decrypted and verified using the accompanying [EncryptedCredentials](https://core.telegram.org/bots/api#encryptedcredentials).",
                        "$ref": "#/components/schemas/PassportFile"
                    },
                    "hash": {
                        "description": "Base64-encoded element hash for using in [PassportElementErrorUnspecified](https://core.telegram.org/bots/api#passportelementerrorunspecified)",
                        "type": "string"
                    }
                }
            },
            "EncryptedCredentials": {
                "type": "object",
                "description": "Describes data required for decrypting and authenticating [EncryptedPassportElement](https://core.telegram.org/bots/api#encryptedpassportelement). See the [Telegram Passport Documentation](https://core.telegram.org/passport#receiving-information) for a complete description of the data decryption and authentication processes.",
                "required": [
                    "data",
                    "hash",
                    "secret"
                ],
                "properties": {
                    "data": {
                        "description": "Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for [EncryptedPassportElement](https://core.telegram.org/bots/api#encryptedpassportelement) decryption and authentication",
                        "type": "string"
                    },
                    "hash": {
                        "description": "Base64-encoded data hash for data authentication",
                        "type": "string"
                    },
                    "secret": {
                        "description": "Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption",
                        "type": "string"
                    }
                }
            },
            "PassportData": {
                "type": "object",
                "description": "Describes Telegram Passport data shared with the bot by the user.",
                "required": [
                    "data",
                    "credentials"
                ],
                "properties": {
                    "data": {
                        "description": "Array with information about documents and other Telegram Passport elements that was shared with the bot",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/EncryptedPassportElement"
                        }
                    },
                    "credentials": {
                        "description": "Encrypted credentials required to decrypt the data",
                        "$ref": "#/components/schemas/EncryptedCredentials"
                    }
                }
            },
            "UniqueGiftColors": {
                "type": "object",
                "description": "This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift.",
                "required": [
                    "model_custom_emoji_id",
                    "symbol_custom_emoji_id",
                    "light_theme_main_color",
                    "light_theme_other_colors",
                    "dark_theme_main_color",
                    "dark_theme_other_colors"
                ],
                "properties": {
                    "model_custom_emoji_id": {
                        "description": "Custom emoji identifier of the unique gift's model",
                        "type": "string"
                    },
                    "symbol_custom_emoji_id": {
                        "description": "Custom emoji identifier of the unique gift's symbol",
                        "type": "string"
                    },
                    "light_theme_main_color": {
                        "description": "Main color used in light themes; RGB format",
                        "type": "integer"
                    },
                    "light_theme_other_colors": {
                        "description": "List of additional colors used in light themes, 1-3 elements; RGB format",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 3
                    },
                    "dark_theme_main_color": {
                        "description": "Main color used in dark themes; RGB format",
                        "type": "integer"
                    },
                    "dark_theme_other_colors": {
                        "description": "List of additional colors used in dark themes, 1-3 elements; RGB format",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 3
                    }
                }
            },
            "GiftBackground": {
                "type": "object",
                "description": "This object describes the background of a gift.",
                "required": [
                    "center_color",
                    "edge_color",
                    "text_color"
                ],
                "properties": {
                    "center_color": {
                        "description": "Center color of the background in RGB format",
                        "type": "integer"
                    },
                    "edge_color": {
                        "description": "Edge color of the background in RGB format",
                        "type": "integer"
                    },
                    "text_color": {
                        "description": "Text color of the background in RGB format",
                        "type": "integer"
                    }
                }
            },
            "Gift": {
                "type": "object",
                "description": "This object represents a gift that can be sent by the bot.",
                "required": [
                    "id",
                    "sticker",
                    "star_count"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the gift",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "The sticker that represents the gift",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "star_count": {
                        "description": "The number of Telegram Stars that must be paid to send the sticker",
                        "type": "integer"
                    },
                    "upgrade_star_count": {
                        "description": "The number of Telegram Stars that must be paid to upgrade the gift to a unique one",
                        "type": "integer"
                    },
                    "remaining_count": {
                        "description": "The number of remaining gifts of this type that can be sent by all users; for limited gifts only",
                        "type": "integer"
                    },
                    "total_count": {
                        "description": "The total number of gifts of this type that can be sent by all users; for limited gifts only",
                        "type": "integer"
                    },
                    "personal_remaining_count": {
                        "description": "The number of remaining gifts of this type that can be sent by the bot; for limited gifts only",
                        "type": "integer"
                    },
                    "personal_total_count": {
                        "description": "The total number of gifts of this type that can be sent by the bot; for limited gifts only",
                        "type": "integer"
                    },
                    "publisher_chat": {
                        "description": "Information about the chat that published the gift",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "is_premium": {
                        "description": "*True*, if the gift can only be purchased by Telegram Premium subscribers",
                        "type": "boolean",
                        "const": true
                    },
                    "has_colors": {
                        "description": "*True*, if the gift can be used (after being upgraded) to customize a user's appearance",
                        "type": "boolean",
                        "const": true
                    },
                    "unique_gift_variant_count": {
                        "description": "The total number of different unique gifts that can be obtained by upgrading the gift",
                        "type": "integer"
                    },
                    "background": {
                        "description": "Background of the gift",
                        "$ref": "#/components/schemas/GiftBackground"
                    }
                }
            },
            "UniqueGiftModel": {
                "type": "object",
                "description": "This object describes the model of a unique gift.",
                "required": [
                    "name",
                    "sticker",
                    "rarity_per_mille"
                ],
                "properties": {
                    "name": {
                        "description": "Name of the model",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "The sticker that represents the unique gift",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "rarity": {
                        "description": "Rarity of the model if it is a crafted model. Currently, can be \"uncommon\", \"rare\", \"epic\", or \"legendary\".",
                        "type": "string",
                        "enum": [
                            "uncommon",
                            "rare",
                            "epic",
                            "legendary"
                        ]
                    },
                    "rarity_per_mille": {
                        "description": "The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.",
                        "type": "integer"
                    }
                }
            },
            "UniqueGiftSymbol": {
                "type": "object",
                "description": "This object describes the symbol shown on the pattern of a unique gift.",
                "required": [
                    "name",
                    "sticker",
                    "rarity_per_mille"
                ],
                "properties": {
                    "name": {
                        "description": "Name of the symbol",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "The sticker that represents the unique gift",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "rarity_per_mille": {
                        "description": "The number of unique gifts that receive this model for every 1000 gifts upgraded",
                        "type": "integer"
                    }
                }
            },
            "UniqueGiftBackdropColors": {
                "type": "object",
                "description": "This object describes the colors of the backdrop of a unique gift.",
                "required": [
                    "center_color",
                    "edge_color",
                    "symbol_color",
                    "text_color"
                ],
                "properties": {
                    "center_color": {
                        "description": "The color in the center of the backdrop in RGB format",
                        "type": "integer"
                    },
                    "edge_color": {
                        "description": "The color on the edges of the backdrop in RGB format",
                        "type": "integer"
                    },
                    "symbol_color": {
                        "description": "The color to be applied to the symbol in RGB format",
                        "type": "integer"
                    },
                    "text_color": {
                        "description": "The color for the text on the backdrop in RGB format",
                        "type": "integer"
                    }
                }
            },
            "UniqueGiftBackdrop": {
                "type": "object",
                "description": "This object describes the backdrop of a unique gift.",
                "required": [
                    "name",
                    "colors",
                    "rarity_per_mille"
                ],
                "properties": {
                    "name": {
                        "description": "Name of the backdrop",
                        "type": "string"
                    },
                    "colors": {
                        "description": "Colors of the backdrop",
                        "$ref": "#/components/schemas/UniqueGiftBackdropColors"
                    },
                    "rarity_per_mille": {
                        "description": "The number of unique gifts that receive this backdrop for every 1000 gifts upgraded",
                        "type": "integer"
                    }
                }
            },
            "UniqueGift": {
                "type": "object",
                "description": "This object describes a unique gift that was upgraded from a regular gift.",
                "required": [
                    "gift_id",
                    "base_name",
                    "name",
                    "number",
                    "model",
                    "symbol",
                    "backdrop"
                ],
                "properties": {
                    "gift_id": {
                        "description": "Identifier of the regular gift from which the gift was upgraded",
                        "type": "string"
                    },
                    "base_name": {
                        "description": "Human-readable name of the regular gift from which this unique gift was upgraded",
                        "type": "string"
                    },
                    "name": {
                        "description": "Unique name of the gift. This name can be used in `https://t.me/nft/...` links and story areas.",
                        "type": "string"
                    },
                    "number": {
                        "description": "Unique number of the upgraded gift among gifts upgraded from the same regular gift",
                        "type": "integer"
                    },
                    "model": {
                        "description": "Model of the gift",
                        "$ref": "#/components/schemas/UniqueGiftModel"
                    },
                    "symbol": {
                        "description": "Symbol of the gift",
                        "$ref": "#/components/schemas/UniqueGiftSymbol"
                    },
                    "backdrop": {
                        "description": "Backdrop of the gift",
                        "$ref": "#/components/schemas/UniqueGiftBackdrop"
                    },
                    "publisher_chat": {
                        "description": "Information about the chat that published the gift",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "is_premium": {
                        "description": "*True*, if the original regular gift was exclusively purchaseable by Telegram Premium subscribers",
                        "type": "boolean",
                        "const": true
                    },
                    "colors": {
                        "description": "The color scheme that can be used by the gift's owner for the chat's name, replies to messages and link previews; for business account gifts and gifts that are currently on sale only",
                        "$ref": "#/components/schemas/UniqueGiftColors"
                    },
                    "is_from_blockchain": {
                        "description": "*True*, if the gift is assigned from the TON blockchain and can't be resold or transferred in Telegram",
                        "type": "boolean",
                        "const": true
                    },
                    "is_burned": {
                        "description": "*True*, if the gift was used to craft another gift and isn't available anymore",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "StarAmount": {
                "type": "object",
                "description": "Describes an amount of Telegram Stars.",
                "required": [
                    "amount"
                ],
                "properties": {
                    "amount": {
                        "description": "Integer amount of Telegram Stars, rounded to 0; can be negative",
                        "type": "integer"
                    },
                    "nanostar_amount": {
                        "description": "The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999; can be negative if and only if *amount* is non-positive",
                        "type": "integer"
                    }
                }
            },
            "SuggestedPostInfo": {
                "type": "object",
                "description": "Contains information about a suggested post.",
                "required": [
                    "state"
                ],
                "properties": {
                    "price": {
                        "description": "Proposed price of the post. If the field is omitted, then the post is unpaid.",
                        "$ref": "#/components/schemas/SuggestedPostPrice"
                    },
                    "send_date": {
                        "description": "Proposed send date of the post. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user or administrator who approves it.",
                        "type": "integer"
                    },
                    "state": {
                        "description": "State of the suggested post. Currently, can be \"pending\", \"approved\", or \"declined\".",
                        "type": "string",
                        "enum": [
                            "pending",
                            "approved",
                            "declined"
                        ]
                    }
                }
            },
            "Invoice": {
                "type": "object",
                "description": "This object contains basic information about an invoice.",
                "required": [
                    "title",
                    "description",
                    "start_parameter",
                    "currency",
                    "total_amount"
                ],
                "properties": {
                    "title": {
                        "description": "Product name",
                        "type": "string"
                    },
                    "description": {
                        "description": "Product description",
                        "type": "string"
                    },
                    "start_parameter": {
                        "description": "Unique bot deep-linking parameter that can be used to generate this invoice",
                        "type": "string"
                    },
                    "currency": {
                        "description": "Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code, or \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90)",
                        "type": "string"
                    },
                    "total_amount": {
                        "description": "Total price in the *smallest units* of the currency (integer, **not** float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).",
                        "type": "integer"
                    }
                }
            },
            "ShippingAddress": {
                "type": "object",
                "description": "This object represents a shipping address.",
                "required": [
                    "country_code",
                    "state",
                    "city",
                    "street_line1",
                    "street_line2",
                    "post_code"
                ],
                "properties": {
                    "country_code": {
                        "description": "Two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code",
                        "type": "string"
                    },
                    "state": {
                        "description": "State, if applicable",
                        "type": "string"
                    },
                    "city": {
                        "description": "City",
                        "type": "string"
                    },
                    "street_line1": {
                        "description": "First line for the address",
                        "type": "string"
                    },
                    "street_line2": {
                        "description": "Second line for the address",
                        "type": "string"
                    },
                    "post_code": {
                        "description": "Address post code",
                        "type": "string"
                    }
                }
            },
            "OrderInfo": {
                "type": "object",
                "description": "This object represents information about an order.",
                "properties": {
                    "name": {
                        "description": "User name",
                        "type": "string"
                    },
                    "phone_number": {
                        "description": "User's phone number",
                        "type": "string"
                    },
                    "email": {
                        "description": "User email",
                        "type": "string"
                    },
                    "shipping_address": {
                        "description": "User shipping address",
                        "$ref": "#/components/schemas/ShippingAddress"
                    }
                }
            },
            "SuccessfulPayment": {
                "type": "object",
                "description": "This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.",
                "required": [
                    "currency",
                    "total_amount",
                    "invoice_payload",
                    "telegram_payment_charge_id",
                    "provider_payment_charge_id"
                ],
                "properties": {
                    "currency": {
                        "description": "Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code, or \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90)",
                        "type": "string"
                    },
                    "total_amount": {
                        "description": "Total price in the *smallest units* of the currency (integer, **not** float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).",
                        "type": "integer"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload",
                        "type": "string"
                    },
                    "shipping_option_id": {
                        "description": "Identifier of the shipping option chosen by the user",
                        "type": "string"
                    },
                    "order_info": {
                        "description": "Order information provided by the user",
                        "$ref": "#/components/schemas/OrderInfo"
                    },
                    "telegram_payment_charge_id": {
                        "description": "Telegram payment identifier",
                        "type": "string"
                    },
                    "provider_payment_charge_id": {
                        "description": "Provider payment identifier",
                        "type": "string"
                    },
                    "is_recurring": {
                        "description": "*True*, if the payment is a recurring payment for a subscription",
                        "type": "boolean",
                        "const": true
                    },
                    "is_first_recurring": {
                        "description": "*True*, if the payment is the first payment for a subscription",
                        "type": "boolean",
                        "const": true
                    },
                    "subscription_expiration_date": {
                        "description": "Expiration date of the subscription, in Unix time; for recurring payments only",
                        "type": "integer"
                    }
                }
            },
            "RefundedPayment": {
                "type": "object",
                "description": "This object contains basic information about a refunded payment.",
                "required": [
                    "currency",
                    "total_amount",
                    "invoice_payload",
                    "telegram_payment_charge_id"
                ],
                "properties": {
                    "currency": {
                        "description": "Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code, or \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90). Currently, always \"XTR\".",
                        "type": "string"
                    },
                    "total_amount": {
                        "description": "Total refunded price in the *smallest units* of the currency (integer, **not** float/double). For example, for a price of `US$ 1.45`, `total_amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).",
                        "type": "integer"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload",
                        "type": "string"
                    },
                    "telegram_payment_charge_id": {
                        "description": "Telegram payment identifier",
                        "type": "string"
                    },
                    "provider_payment_charge_id": {
                        "description": "Provider payment identifier",
                        "type": "string"
                    }
                }
            },
            "GiftInfo": {
                "type": "object",
                "description": "Describes a service message about a regular gift that was sent or received.",
                "required": [
                    "gift"
                ],
                "properties": {
                    "gift": {
                        "description": "Information about the gift",
                        "$ref": "#/components/schemas/Gift"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts",
                        "type": "string"
                    },
                    "convert_star_count": {
                        "description": "Number of Telegram Stars that can be claimed by the receiver by converting the gift; omitted if conversion to Telegram Stars is impossible",
                        "type": "integer"
                    },
                    "prepaid_upgrade_star_count": {
                        "description": "Number of Telegram Stars that were prepaid for the ability to upgrade the gift",
                        "type": "integer"
                    },
                    "can_be_upgraded": {
                        "description": "*True*, if the gift can be upgraded to a unique gift",
                        "type": "boolean",
                        "const": true
                    },
                    "text": {
                        "description": "Text of the message that was added to the gift",
                        "type": "string"
                    },
                    "entities": {
                        "description": "Special entities that appear in the text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "is_private": {
                        "description": "*True*, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them",
                        "type": "boolean",
                        "const": true
                    },
                    "is_upgrade_separate": {
                        "description": "*True*, if the gift's upgrade was purchased after the gift was sent",
                        "type": "boolean",
                        "const": true
                    },
                    "unique_gift_number": {
                        "description": "Unique number reserved for this gift when upgraded. See the *number* field in [UniqueGift](https://core.telegram.org/bots/api#uniquegift).",
                        "type": "integer"
                    }
                }
            },
            "UniqueGiftInfo": {
                "type": "object",
                "description": "Describes a service message about a unique gift that was sent or received.",
                "required": [
                    "gift",
                    "origin"
                ],
                "properties": {
                    "gift": {
                        "description": "Information about the gift",
                        "$ref": "#/components/schemas/UniqueGift"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts",
                        "type": "string"
                    },
                    "transfer_star_count": {
                        "description": "Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift",
                        "type": "integer"
                    },
                    "next_transfer_date": {
                        "description": "Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now.",
                        "type": "integer"
                    },
                    "origin": {
                        "description": "Origin of the gift. Currently, either \"upgrade\" for gifts upgraded from regular gifts, \"transfer\" for gifts transferred from other users or channels, \"resale\" for gifts bought from other users, \"blockchain\" for gifts assigned from the blockchain, \"gifted_upgrade\" for upgrades purchased after the gift was sent, \"offer\" for gifts bought or sold through gift purchase offers, or \"craft\" for gifts crafted from other gifts.",
                        "type": "string",
                        "enum": [
                            "upgrade",
                            "transfer",
                            "resale",
                            "blockchain",
                            "gifted_upgrade",
                            "offer",
                            "craft"
                        ]
                    },
                    "last_resale_currency": {
                        "description": "For gifts bought from other users, the currency in which the payment for the gift was done. Currently, one of \"XTR\" for Telegram Stars or \"TON\" for TON grams.",
                        "type": "string",
                        "enum": [
                            "XTR",
                            "TON"
                        ]
                    },
                    "last_resale_amount": {
                        "description": "For gifts bought from other users, the price paid for the gift in either Telegram Stars or nanograms",
                        "type": "integer"
                    },
                    "text": {
                        "description": "Text of the message that was added to the gift",
                        "type": "string"
                    },
                    "entities": {
                        "description": "Special entities that appear in the text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "is_private": {
                        "description": "*True*, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ShippingQuery": {
                "type": "object",
                "description": "This object contains information about an incoming shipping query.",
                "required": [
                    "id",
                    "from",
                    "invoice_payload",
                    "shipping_address"
                ],
                "properties": {
                    "id": {
                        "description": "Unique query identifier",
                        "type": "string"
                    },
                    "from": {
                        "description": "User who sent the query",
                        "$ref": "#/components/schemas/User"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload",
                        "type": "string"
                    },
                    "shipping_address": {
                        "description": "User specified shipping address",
                        "$ref": "#/components/schemas/ShippingAddress"
                    }
                }
            },
            "PreCheckoutQuery": {
                "type": "object",
                "description": "This object contains information about an incoming pre-checkout query.",
                "required": [
                    "id",
                    "from",
                    "currency",
                    "total_amount",
                    "invoice_payload"
                ],
                "properties": {
                    "id": {
                        "description": "Unique query identifier",
                        "type": "string"
                    },
                    "from": {
                        "description": "User who sent the query",
                        "$ref": "#/components/schemas/User"
                    },
                    "currency": {
                        "description": "Three-letter ISO 4217 [currency](https://core.telegram.org/bots/payments#supported-currencies) code, or \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90)",
                        "type": "string"
                    },
                    "total_amount": {
                        "description": "Total price in the *smallest units* of the currency (integer, **not** float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).",
                        "type": "integer"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload",
                        "type": "string"
                    },
                    "shipping_option_id": {
                        "description": "Identifier of the shipping option chosen by the user",
                        "type": "string"
                    },
                    "order_info": {
                        "description": "Order information provided by the user",
                        "$ref": "#/components/schemas/OrderInfo"
                    }
                }
            },
            "PaidMediaPurchased": {
                "type": "object",
                "description": "This object contains information about a paid media purchase.",
                "required": [
                    "from",
                    "paid_media_payload"
                ],
                "properties": {
                    "from": {
                        "description": "User who purchased the media",
                        "$ref": "#/components/schemas/User"
                    },
                    "paid_media_payload": {
                        "description": "Bot-specified paid media payload",
                        "type": "string"
                    }
                }
            },
            "RevenueWithdrawalStatePending": {
                "type": "object",
                "description": "The withdrawal is in progress.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the state, always \"pending\"",
                        "type": "string",
                        "const": "pending"
                    }
                }
            },
            "RevenueWithdrawalStateSucceeded": {
                "type": "object",
                "description": "The withdrawal succeeded.",
                "required": [
                    "type",
                    "date",
                    "url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the state, always \"succeeded\"",
                        "type": "string",
                        "const": "succeeded"
                    },
                    "date": {
                        "description": "Date the withdrawal was completed in Unix time",
                        "type": "integer"
                    },
                    "url": {
                        "description": "An HTTPS URL that can be used to see transaction details",
                        "type": "string"
                    }
                }
            },
            "RevenueWithdrawalStateFailed": {
                "type": "object",
                "description": "The withdrawal failed and the transaction was refunded.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the state, always \"failed\"",
                        "type": "string",
                        "const": "failed"
                    }
                }
            },
            "AffiliateInfo": {
                "type": "object",
                "description": "Contains information about the affiliate that received a commission via this transaction.",
                "required": [
                    "commission_per_mille",
                    "amount"
                ],
                "properties": {
                    "affiliate_user": {
                        "description": "The bot or the user that received an affiliate commission if it was received by a bot or a user",
                        "$ref": "#/components/schemas/User"
                    },
                    "affiliate_chat": {
                        "description": "The chat that received an affiliate commission if it was received by a chat",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "commission_per_mille": {
                        "description": "The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred users",
                        "type": "integer"
                    },
                    "amount": {
                        "description": "Integer amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds",
                        "type": "integer"
                    },
                    "nanostar_amount": {
                        "description": "The number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds",
                        "type": "integer"
                    }
                }
            },
            "StarTransaction": {
                "type": "object",
                "description": "Describes a Telegram Star transaction. Note that if the buyer initiates a chargeback with the payment provider from whom they acquired Stars (e.g., Apple, Google) following this transaction, the refunded Stars will be deducted from the bot's balance. This is outside of Telegram's control.",
                "required": [
                    "id",
                    "date",
                    "amount"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the transaction. Coincides with the identifier of the original transaction for refund transactions. Coincides with *SuccessfulPayment.telegram_payment_charge_id* for successful incoming payments from users.",
                        "type": "string"
                    },
                    "date": {
                        "description": "Date the transaction was created in Unix time",
                        "type": "integer"
                    },
                    "source": {
                        "description": "Source of an incoming transaction (e.g., a user purchasing goods or services, Fragment refunding a failed withdrawal). Only for incoming transactions.",
                        "$ref": "#/components/schemas/TransactionPartner"
                    },
                    "receiver": {
                        "description": "Receiver of an outgoing transaction (e.g., a user for a purchase refund, Fragment for a withdrawal). Only for outgoing transactions.",
                        "$ref": "#/components/schemas/TransactionPartner"
                    },
                    "amount": {
                        "description": "Integer amount of Telegram Stars transferred by the transaction",
                        "type": "integer"
                    },
                    "nanostar_amount": {
                        "description": "The number of 1/1000000000 shares of Telegram Stars transferred by the transaction; from 0 to 999999999",
                        "type": "integer"
                    }
                }
            },
            "StarTransactions": {
                "type": "object",
                "description": "Contains a list of Telegram Star transactions.",
                "required": [
                    "transactions"
                ],
                "properties": {
                    "transactions": {
                        "description": "The list of transactions",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StarTransaction"
                        }
                    }
                }
            },
            "OwnedGift": {
                "description": "This object describes a gift received and owned by a user or a chat.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/OwnedGiftRegular"
                    },
                    {
                        "$ref": "#/components/schemas/OwnedGiftUnique"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "regular": "#/components/schemas/OwnedGiftRegular",
                        "unique": "#/components/schemas/OwnedGiftUnique"
                    }
                }
            },
            "OwnedGiftRegular": {
                "type": "object",
                "description": "Describes a regular gift owned by a user or a chat.",
                "required": [
                    "type",
                    "gift",
                    "send_date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the gift, always \"regular\"",
                        "type": "string",
                        "const": "regular"
                    },
                    "gift": {
                        "description": "Information about the regular gift",
                        "$ref": "#/components/schemas/Gift"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the gift for the bot; for gifts received on behalf of business accounts only",
                        "type": "string"
                    },
                    "sender_user": {
                        "description": "Sender of the gift if it is a known user",
                        "$ref": "#/components/schemas/User"
                    },
                    "sender_chat": {
                        "description": "Sender of the gift if it is a known chat",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "send_date": {
                        "description": "Date the gift was sent in Unix time",
                        "type": "integer"
                    },
                    "text": {
                        "description": "Text of the message that was added to the gift",
                        "type": "string"
                    },
                    "entities": {
                        "description": "Special entities that appear in the text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "is_private": {
                        "description": "*True*, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them",
                        "type": "boolean",
                        "const": true
                    },
                    "is_saved": {
                        "description": "*True*, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "can_be_upgraded": {
                        "description": "*True*, if the gift can be upgraded to a unique gift; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "can_be_transferred": {
                        "description": "*True*, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "was_refunded": {
                        "description": "*True*, if the gift was refunded and isn't available anymore",
                        "type": "boolean",
                        "const": true
                    },
                    "convert_star_count": {
                        "description": "Number of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars; for gifts received on behalf of business accounts only",
                        "type": "integer"
                    },
                    "prepaid_upgrade_star_count": {
                        "description": "Number of Telegram Stars that were paid for the ability to upgrade the gift",
                        "type": "integer"
                    },
                    "transfer_star_count": {
                        "description": "Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift",
                        "type": "integer"
                    },
                    "next_transfer_date": {
                        "description": "Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now.",
                        "type": "integer"
                    },
                    "is_upgrade_separate": {
                        "description": "*True*, if the gift's upgrade was purchased after the gift was sent; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "unique_gift_number": {
                        "description": "Unique number reserved for this gift when upgraded. See the *number* field in [UniqueGift](https://core.telegram.org/bots/api#uniquegift).",
                        "type": "integer"
                    }
                }
            },
            "OwnedGiftUnique": {
                "type": "object",
                "description": "Describes a unique gift received and owned by a user or a chat.",
                "required": [
                    "type",
                    "gift",
                    "send_date"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the gift, always \"unique\"",
                        "type": "string",
                        "const": "unique"
                    },
                    "gift": {
                        "description": "Information about the unique gift",
                        "$ref": "#/components/schemas/UniqueGift"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the gift for the bot; for gifts received on behalf of business accounts only",
                        "type": "string"
                    },
                    "sender_user": {
                        "description": "Sender of the gift if it is a known user",
                        "$ref": "#/components/schemas/User"
                    },
                    "sender_chat": {
                        "description": "Sender of the gift if it is a known chat",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "send_date": {
                        "description": "Date the gift was sent in Unix time",
                        "type": "integer"
                    },
                    "text": {
                        "description": "Text of the message that was added to the gift",
                        "type": "string"
                    },
                    "entities": {
                        "description": "Special entities that appear in the text",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "is_private": {
                        "description": "*True*, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them",
                        "type": "boolean",
                        "const": true
                    },
                    "is_saved": {
                        "description": "*True*, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "can_be_upgraded": {
                        "description": "*True*, if the gift can be upgraded to a unique gift; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "can_be_transferred": {
                        "description": "*True*, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "was_refunded": {
                        "description": "*True*, if the gift was refunded and isn't available anymore",
                        "type": "boolean",
                        "const": true
                    },
                    "convert_star_count": {
                        "description": "Number of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars; for gifts received on behalf of business accounts only",
                        "type": "integer"
                    },
                    "prepaid_upgrade_star_count": {
                        "description": "Number of Telegram Stars that were paid for the ability to upgrade the gift",
                        "type": "integer"
                    },
                    "transfer_star_count": {
                        "description": "Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift",
                        "type": "integer"
                    },
                    "next_transfer_date": {
                        "description": "Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now.",
                        "type": "integer"
                    },
                    "is_upgrade_separate": {
                        "description": "*True*, if the gift's upgrade was purchased after the gift was sent; for gifts received on behalf of business accounts only",
                        "type": "boolean",
                        "const": true
                    },
                    "unique_gift_number": {
                        "description": "Unique number reserved for this gift when upgraded. See the *number* field in [UniqueGift](https://core.telegram.org/bots/api#uniquegift).",
                        "type": "integer"
                    }
                }
            },
            "OwnedGifts": {
                "type": "object",
                "description": "Contains the list of gifts received and owned by a user or a chat.",
                "required": [
                    "total_count",
                    "gifts"
                ],
                "properties": {
                    "total_count": {
                        "description": "The total number of gifts owned by the user or the chat",
                        "type": "integer"
                    },
                    "gifts": {
                        "description": "The list of gifts",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/OwnedGift"
                        }
                    },
                    "next_offset": {
                        "description": "Offset for the next request. If empty, then there are no more results.",
                        "type": "string"
                    }
                }
            },
            "Gifts": {
                "type": "object",
                "description": "This object represent a list of gifts.",
                "required": [
                    "gifts"
                ],
                "properties": {
                    "gifts": {
                        "description": "The list of gifts",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Gift"
                        }
                    }
                }
            },
            "AcceptedGiftTypesInput": {
                "type": "object",
                "description": "This object describes the types of gifts that can be gifted to a user or a chat.",
                "required": [
                    "unlimited_gifts",
                    "limited_gifts",
                    "unique_gifts",
                    "premium_subscription"
                ],
                "properties": {
                    "unlimited_gifts": {
                        "description": "*True*, if unlimited regular gifts are accepted",
                        "type": "boolean"
                    },
                    "limited_gifts": {
                        "description": "*True*, if limited regular gifts are accepted",
                        "type": "boolean"
                    },
                    "unique_gifts": {
                        "description": "*True*, if unique gifts or gifts that can be upgraded to unique for free are accepted",
                        "type": "boolean"
                    },
                    "premium_subscription": {
                        "description": "*True*, if a Telegram Premium subscription is accepted",
                        "type": "boolean"
                    },
                    "gifts_from_channels": {
                        "description": "*True*, if transfers of unique gifts from channels are accepted, defaults to *True*",
                        "type": "boolean",
                        "default": true
                    }
                }
            },
            "AcceptedGiftTypesOutput": {
                "type": "object",
                "description": "This object describes the types of gifts that can be gifted to a user or a chat.",
                "required": [
                    "unlimited_gifts",
                    "limited_gifts",
                    "unique_gifts",
                    "premium_subscription",
                    "gifts_from_channels"
                ],
                "properties": {
                    "unlimited_gifts": {
                        "description": "*True*, if unlimited regular gifts are accepted",
                        "type": "boolean"
                    },
                    "limited_gifts": {
                        "description": "*True*, if limited regular gifts are accepted",
                        "type": "boolean"
                    },
                    "unique_gifts": {
                        "description": "*True*, if unique gifts or gifts that can be upgraded to unique for free are accepted",
                        "type": "boolean"
                    },
                    "premium_subscription": {
                        "description": "*True*, if a Telegram Premium subscription is accepted",
                        "type": "boolean"
                    },
                    "gifts_from_channels": {
                        "description": "*True*, if transfers of unique gifts from channels are accepted, defaults to *True*",
                        "type": "boolean",
                        "default": true
                    }
                }
            },
            "MessageEntityInput": {
                "type": "object",
                "description": "This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.",
                "required": [
                    "offset",
                    "length",
                    "type"
                ],
                "properties": {
                    "offset": {
                        "description": "Offset in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length) to the start of the entity",
                        "type": "integer"
                    },
                    "length": {
                        "description": "Length of the entity in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length)",
                        "type": "integer"
                    },
                    "type": {
                        "description": "Type of the entity. Currently, can be \"mention\" (`@username`), \"hashtag\" (`#hashtag` or `#hashtag@chatusername`), \"cashtag\" (`$USD` or `$USD@chatusername`), \"bot_command\" (`/start@jobs_bot`), \"url\" (`https://telegram.org`), \"email\" (`do-not-reply@telegram.org`), \"phone_number\" (`+1-212-555-0123`), \"bold\" (**bold text**), \"italic\" (*italic text*), \"underline\" (underlined text), \"strikethrough\" (strikethrough text), \"spoiler\" (spoiler message), \"blockquote\" (block quotation), \"expandable_blockquote\" (collapsed-by-default block quotation), \"code\" (monowidth string), \"pre\" (monowidth block), \"text_link\" (for clickable text URLs), \"text_mention\" (for users [without usernames](https://telegram.org/blog/edit#new-mentions)), \"custom_emoji\" (for inline custom emoji stickers), or \"date_time\" (for formatted date and time).",
                        "type": "string",
                        "enum": [
                            "mention",
                            "hashtag",
                            "cashtag",
                            "bot_command",
                            "url",
                            "email",
                            "phone_number",
                            "bold",
                            "italic",
                            "underline",
                            "strikethrough",
                            "spoiler",
                            "code",
                            "pre",
                            "blockquote",
                            "expandable_blockquote",
                            "text_link",
                            "text_mention",
                            "custom_emoji",
                            "date_time"
                        ]
                    },
                    "language": {
                        "description": "For \"pre\" only, the programming language of the entity text",
                        "type": "string"
                    },
                    "url": {
                        "description": "For \"text_link\" only, URL that will be opened after user taps on the text",
                        "type": "string"
                    },
                    "user": {
                        "description": "For \"text_mention\" only, the mentioned user",
                        "$ref": "#/components/schemas/User"
                    },
                    "custom_emoji_id": {
                        "description": "For \"custom_emoji\" only, unique identifier of the custom emoji. Use [getCustomEmojiStickers](https://core.telegram.org/bots/api#getcustomemojistickers) to get full information about the sticker.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "unix_time": {
                        "description": "For \"date_time\" only, the Unix time associated with the entity",
                        "type": "integer"
                    },
                    "date_time_format": {
                        "description": "For \"date_time\" only, the string that defines the formatting of the date and time. See [date-time entity formatting](https://core.telegram.org/bots/api#date-time-entity-formatting) for more details.",
                        "type": "string"
                    }
                }
            },
            "MessageEntityOutput": {
                "type": "object",
                "description": "This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.",
                "required": [
                    "offset",
                    "length",
                    "type"
                ],
                "properties": {
                    "offset": {
                        "description": "Offset in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length) to the start of the entity",
                        "type": "integer"
                    },
                    "length": {
                        "description": "Length of the entity in [UTF-16 code units](https://core.telegram.org/api/entities#entity-length)",
                        "type": "integer"
                    },
                    "type": {
                        "description": "Type of the entity. Currently, can be \"mention\" (`@username`), \"hashtag\" (`#hashtag` or `#hashtag@chatusername`), \"cashtag\" (`$USD` or `$USD@chatusername`), \"bot_command\" (`/start@jobs_bot`), \"url\" (`https://telegram.org`), \"email\" (`do-not-reply@telegram.org`), \"phone_number\" (`+1-212-555-0123`), \"bold\" (**bold text**), \"italic\" (*italic text*), \"underline\" (underlined text), \"strikethrough\" (strikethrough text), \"spoiler\" (spoiler message), \"blockquote\" (block quotation), \"expandable_blockquote\" (collapsed-by-default block quotation), \"code\" (monowidth string), \"pre\" (monowidth block), \"text_link\" (for clickable text URLs), \"text_mention\" (for users [without usernames](https://telegram.org/blog/edit#new-mentions)), \"custom_emoji\" (for inline custom emoji stickers), or \"date_time\" (for formatted date and time).",
                        "type": "string",
                        "enum": [
                            "mention",
                            "hashtag",
                            "cashtag",
                            "bot_command",
                            "url",
                            "email",
                            "phone_number",
                            "bold",
                            "italic",
                            "underline",
                            "strikethrough",
                            "spoiler",
                            "code",
                            "pre",
                            "blockquote",
                            "expandable_blockquote",
                            "text_link",
                            "text_mention",
                            "custom_emoji",
                            "date_time"
                        ]
                    },
                    "language": {
                        "description": "For \"pre\" only, the programming language of the entity text",
                        "type": "string"
                    },
                    "url": {
                        "description": "For \"text_link\" only, URL that will be opened after user taps on the text",
                        "type": "string"
                    },
                    "user": {
                        "description": "For \"text_mention\" only, the mentioned user",
                        "$ref": "#/components/schemas/User"
                    },
                    "custom_emoji_id": {
                        "description": "For \"custom_emoji\" only, unique identifier of the custom emoji. Use [getCustomEmojiStickers](https://core.telegram.org/bots/api#getcustomemojistickers) to get full information about the sticker.",
                        "type": "string"
                    },
                    "unix_time": {
                        "description": "For \"date_time\" only, the Unix time associated with the entity",
                        "type": "integer"
                    },
                    "date_time_format": {
                        "description": "For \"date_time\" only, the string that defines the formatting of the date and time. See [date-time entity formatting](https://core.telegram.org/bots/api#date-time-entity-formatting) for more details.",
                        "type": "string"
                    }
                }
            },
            "RichBlockSectionHeading": {
                "type": "object",
                "description": "A section heading, corresponding to the HTML tags `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, or `<h6>`.",
                "required": [
                    "type",
                    "text",
                    "size"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"heading\"",
                        "type": "string",
                        "const": "heading"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "size": {
                        "description": "Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest",
                        "type": "integer"
                    }
                }
            },
            "RichBlockParagraph": {
                "type": "object",
                "description": "A text paragraph, corresponding to the HTML tag `<p>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"paragraph\"",
                        "type": "string",
                        "const": "paragraph"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockPreformatted": {
                "type": "object",
                "description": "A preformatted text block, corresponding to the nested HTML tags `<pre>` and `<code>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"pre\"",
                        "type": "string",
                        "const": "pre"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "language": {
                        "description": "The programming language of the text",
                        "type": "string"
                    }
                }
            },
            "RichBlockFooter": {
                "type": "object",
                "description": "A footer, corresponding to the HTML tag `<footer>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"footer\"",
                        "type": "string",
                        "const": "footer"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockDivider": {
                "type": "object",
                "description": "A divider, corresponding to the HTML tag `<hr/>`.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"divider\"",
                        "type": "string",
                        "const": "divider"
                    }
                }
            },
            "RichBlockMathematicalExpression": {
                "type": "object",
                "description": "A block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag `<tg-math-block>`.",
                "required": [
                    "type",
                    "expression"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"mathematical_expression\"",
                        "type": "string",
                        "const": "mathematical_expression"
                    },
                    "expression": {
                        "description": "The mathematical expression in LaTeX format",
                        "type": "string"
                    }
                }
            },
            "RichBlockAnchor": {
                "type": "object",
                "description": "A block with an anchor, corresponding to the HTML tag `<a>` with the attribute `name`.",
                "required": [
                    "type",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"anchor\"",
                        "type": "string",
                        "const": "anchor"
                    },
                    "name": {
                        "description": "The name of the anchor",
                        "type": "string"
                    }
                }
            },
            "RichBlockList": {
                "type": "object",
                "description": "A list of blocks, corresponding to the HTML tag `<ul>` or `<ol>` with multiple nested tags `<li>`.",
                "required": [
                    "type",
                    "items"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"list\"",
                        "type": "string",
                        "const": "list"
                    },
                    "items": {
                        "description": "Items of the list",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlockListItem"
                        }
                    }
                }
            },
            "RichBlockBlockQuotation": {
                "type": "object",
                "description": "A block quotation, corresponding to the HTML tag `<blockquote>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"blockquote\"",
                        "type": "string",
                        "const": "blockquote"
                    },
                    "blocks": {
                        "description": "Content of the block",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockExpandableBlockQuotation": {
                "type": "object",
                "description": "A block quotation, corresponding to the HTML tag `<blockquote>` with custom attribute `\"expandable\"`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"expandable_blockquote\"",
                        "type": "string",
                        "const": "expandable_blockquote"
                    },
                    "text": {
                        "description": "Content of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockPullQuotation": {
                "type": "object",
                "description": "A quotation with centered text, loosely corresponding to the HTML tag `<aside>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"pullquote\"",
                        "type": "string",
                        "const": "pullquote"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockCollage": {
                "type": "object",
                "description": "A collage, corresponding to the custom HTML tag `<tg-collage>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"collage\"",
                        "type": "string",
                        "const": "collage"
                    },
                    "blocks": {
                        "description": "Elements of the collage",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichBlockSlideshow": {
                "type": "object",
                "description": "A slideshow, corresponding to the custom HTML tag `<tg-slideshow>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"slideshow\"",
                        "type": "string",
                        "const": "slideshow"
                    },
                    "blocks": {
                        "description": "Elements of the slideshow",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichBlockTable": {
                "type": "object",
                "description": "A table, corresponding to the HTML tag `<table>`.",
                "required": [
                    "type",
                    "cells"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"table\"",
                        "type": "string",
                        "const": "table"
                    },
                    "cells": {
                        "description": "Cells of the table",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/RichBlockTableCellOutput"
                            }
                        }
                    },
                    "caption": {
                        "description": "Caption of the table",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "is_bordered": {
                        "description": "*True*, if the table has borders",
                        "type": "boolean",
                        "const": true
                    },
                    "is_striped": {
                        "description": "*True*, if the table is striped",
                        "type": "boolean",
                        "const": true
                    },
                    "is_compact": {
                        "description": "*True*, if table cells have smaller indents",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "RichBlockDetails": {
                "type": "object",
                "description": "An expandable block for details disclosure, corresponding to the HTML tag `<details>`.",
                "required": [
                    "type",
                    "summary",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"details\"",
                        "type": "string",
                        "const": "details"
                    },
                    "summary": {
                        "description": "Always shown summary of the block",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "blocks": {
                        "description": "Content of the block",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "is_open": {
                        "description": "*True*, if the content of the block is visible by default",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "RichBlockMap": {
                "type": "object",
                "description": "A block with a map, corresponding to the custom HTML tag `<tg-map>`.",
                "required": [
                    "type",
                    "location",
                    "zoom",
                    "width",
                    "height"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"map\"",
                        "type": "string",
                        "const": "map"
                    },
                    "location": {
                        "description": "Location of the center of the map",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "zoom": {
                        "description": "Map zoom level",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Expected width of the map",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Expected height of the map",
                        "type": "integer"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichBlockButtons": {
                "type": "object",
                "description": "A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag `<tg-button-row>`.",
                "required": [
                    "type",
                    "buttons"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"buttons\"",
                        "type": "string",
                        "const": "buttons"
                    },
                    "buttons": {
                        "description": "The buttons",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichMessageButtonOutput"
                        }
                    },
                    "align": {
                        "description": "Horizontal alignment of the buttons. Currently, must be one of \"left\", \"center\", or \"right\".",
                        "type": "string",
                        "enum": [
                            "left",
                            "center",
                            "right"
                        ]
                    }
                }
            },
            "RichBlockAnimation": {
                "type": "object",
                "description": "A block with an animation, corresponding to the HTML tag `<video>`.",
                "required": [
                    "type",
                    "animation"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, currently can be \"animation\" or \"unknown\"",
                        "type": "string",
                        "enum": [
                            "animation",
                            "unknown"
                        ]
                    },
                    "animation": {
                        "description": "The animation",
                        "$ref": "#/components/schemas/Animation"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    },
                    "has_spoiler": {
                        "description": "*True*, if the media preview is covered by a spoiler animation",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "RichBlockAudio": {
                "type": "object",
                "description": "A block with a music file, corresponding to the HTML tag `<audio>`.",
                "required": [
                    "type",
                    "audio"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"audio\"",
                        "type": "string",
                        "const": "audio"
                    },
                    "audio": {
                        "description": "The audio",
                        "$ref": "#/components/schemas/Audio"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichBlockDocument": {
                "type": "object",
                "description": "A block with a general file, corresponding to the custom HTML tag `<tg-document>`.",
                "required": [
                    "type",
                    "document"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"document\"",
                        "type": "string",
                        "const": "document"
                    },
                    "document": {
                        "description": "The document",
                        "$ref": "#/components/schemas/Document"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichBlockPhoto": {
                "type": "object",
                "description": "A block with a photo, corresponding to the HTML tag `<img>`.",
                "required": [
                    "type",
                    "photo"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, currently can be \"photo\" or \"unknown\"",
                        "type": "string",
                        "enum": [
                            "photo",
                            "unknown"
                        ]
                    },
                    "photo": {
                        "description": "Available sizes of the photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    },
                    "has_spoiler": {
                        "description": "*True*, if the media preview is covered by a spoiler animation",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "RichBlockVideo": {
                "type": "object",
                "description": "A block with a video, corresponding to the HTML tag `<video>`.",
                "required": [
                    "type",
                    "video"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, currently can be \"video\" or \"unknown\"",
                        "type": "string",
                        "enum": [
                            "video",
                            "unknown"
                        ]
                    },
                    "video": {
                        "description": "The video",
                        "$ref": "#/components/schemas/Video"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    },
                    "has_spoiler": {
                        "description": "*True*, if the media preview is covered by a spoiler animation",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "RichBlockVoiceNote": {
                "type": "object",
                "description": "A block with a voice note, corresponding to the HTML tag `<audio>`.",
                "required": [
                    "type",
                    "voice_note"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, always \"voice_note\"",
                        "type": "string",
                        "const": "voice_note"
                    },
                    "voice_note": {
                        "description": "The voice note",
                        "$ref": "#/components/schemas/Voice"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionOutput"
                    }
                }
            },
            "RichTextBoldInput": {
                "type": "object",
                "description": "A bold text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bold\"",
                        "type": "string",
                        "const": "bold"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextBoldOutput": {
                "type": "object",
                "description": "A bold text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bold\"",
                        "type": "string",
                        "const": "bold"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextItalicInput": {
                "type": "object",
                "description": "An italicized text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"italic\"",
                        "type": "string",
                        "const": "italic"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextItalicOutput": {
                "type": "object",
                "description": "An italicized text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"italic\"",
                        "type": "string",
                        "const": "italic"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextUnderlineInput": {
                "type": "object",
                "description": "An underlined text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"underline\"",
                        "type": "string",
                        "const": "underline"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextUnderlineOutput": {
                "type": "object",
                "description": "An underlined text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"underline\"",
                        "type": "string",
                        "const": "underline"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextStrikethroughInput": {
                "type": "object",
                "description": "A strikethrough text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"strikethrough\"",
                        "type": "string",
                        "const": "strikethrough"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextStrikethroughOutput": {
                "type": "object",
                "description": "A strikethrough text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"strikethrough\"",
                        "type": "string",
                        "const": "strikethrough"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextSpoilerInput": {
                "type": "object",
                "description": "A text covered by a spoiler.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"spoiler\"",
                        "type": "string",
                        "const": "spoiler"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextSpoilerOutput": {
                "type": "object",
                "description": "A text covered by a spoiler.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"spoiler\"",
                        "type": "string",
                        "const": "spoiler"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextSubscriptInput": {
                "type": "object",
                "description": "A subscript text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"subscript\"",
                        "type": "string",
                        "const": "subscript"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextSubscriptOutput": {
                "type": "object",
                "description": "A subscript text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"subscript\"",
                        "type": "string",
                        "const": "subscript"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextSuperscriptInput": {
                "type": "object",
                "description": "A superscript text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"superscript\"",
                        "type": "string",
                        "const": "superscript"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextSuperscriptOutput": {
                "type": "object",
                "description": "A superscript text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"superscript\"",
                        "type": "string",
                        "const": "superscript"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextMarkedInput": {
                "type": "object",
                "description": "A marked text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"marked\"",
                        "type": "string",
                        "const": "marked"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextMarkedOutput": {
                "type": "object",
                "description": "A marked text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"marked\"",
                        "type": "string",
                        "const": "marked"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextDateTimeInput": {
                "type": "object",
                "description": "Formatted date and time.",
                "required": [
                    "type",
                    "text",
                    "unix_time",
                    "date_time_format"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"date_time\"",
                        "type": "string",
                        "const": "date_time"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "unix_time": {
                        "description": "The Unix time associated with the entity",
                        "type": "integer"
                    },
                    "date_time_format": {
                        "description": "The string that defines the formatting of the date and time. See [date-time entity formatting](https://core.telegram.org/bots/api#date-time-entity-formatting) for more details.",
                        "type": "string"
                    }
                }
            },
            "RichTextDateTimeOutput": {
                "type": "object",
                "description": "Formatted date and time.",
                "required": [
                    "type",
                    "text",
                    "unix_time",
                    "date_time_format"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"date_time\"",
                        "type": "string",
                        "const": "date_time"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "unix_time": {
                        "description": "The Unix time associated with the entity",
                        "type": "integer"
                    },
                    "date_time_format": {
                        "description": "The string that defines the formatting of the date and time. See [date-time entity formatting](https://core.telegram.org/bots/api#date-time-entity-formatting) for more details.",
                        "type": "string"
                    }
                }
            },
            "RichTextMentionInput": {
                "type": "object",
                "description": "A mention by a username.",
                "required": [
                    "type",
                    "text",
                    "username"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"mention\"",
                        "type": "string",
                        "const": "mention"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "username": {
                        "description": "The username",
                        "type": "string"
                    }
                }
            },
            "RichTextMentionOutput": {
                "type": "object",
                "description": "A mention by a username.",
                "required": [
                    "type",
                    "text",
                    "username"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"mention\"",
                        "type": "string",
                        "const": "mention"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "username": {
                        "description": "The username",
                        "type": "string"
                    }
                }
            },
            "RichTextHashtagInput": {
                "type": "object",
                "description": "A hashtag.",
                "required": [
                    "type",
                    "text",
                    "hashtag"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"hashtag\"",
                        "type": "string",
                        "const": "hashtag"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "hashtag": {
                        "description": "The hashtag",
                        "type": "string"
                    }
                }
            },
            "RichTextHashtagOutput": {
                "type": "object",
                "description": "A hashtag.",
                "required": [
                    "type",
                    "text",
                    "hashtag"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"hashtag\"",
                        "type": "string",
                        "const": "hashtag"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "hashtag": {
                        "description": "The hashtag",
                        "type": "string"
                    }
                }
            },
            "RichTextCashtagInput": {
                "type": "object",
                "description": "A cashtag.",
                "required": [
                    "type",
                    "text",
                    "cashtag"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"cashtag\"",
                        "type": "string",
                        "const": "cashtag"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "cashtag": {
                        "description": "The cashtag",
                        "type": "string"
                    }
                }
            },
            "RichTextCashtagOutput": {
                "type": "object",
                "description": "A cashtag.",
                "required": [
                    "type",
                    "text",
                    "cashtag"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"cashtag\"",
                        "type": "string",
                        "const": "cashtag"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "cashtag": {
                        "description": "The cashtag",
                        "type": "string"
                    }
                }
            },
            "RichTextBankCardNumberInput": {
                "type": "object",
                "description": "A text with a bank card number.",
                "required": [
                    "type",
                    "text",
                    "bank_card_number"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bank_card_number\"",
                        "type": "string",
                        "const": "bank_card_number"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "bank_card_number": {
                        "description": "The bank card number",
                        "type": "string"
                    }
                }
            },
            "RichTextBankCardNumberOutput": {
                "type": "object",
                "description": "A text with a bank card number.",
                "required": [
                    "type",
                    "text",
                    "bank_card_number"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bank_card_number\"",
                        "type": "string",
                        "const": "bank_card_number"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "bank_card_number": {
                        "description": "The bank card number",
                        "type": "string"
                    }
                }
            },
            "RichTextBotCommandInput": {
                "type": "object",
                "description": "A bot command.",
                "required": [
                    "type",
                    "text",
                    "bot_command"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bot_command\"",
                        "type": "string",
                        "const": "bot_command"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "bot_command": {
                        "description": "The bot command",
                        "type": "string"
                    }
                }
            },
            "RichTextBotCommandOutput": {
                "type": "object",
                "description": "A bot command.",
                "required": [
                    "type",
                    "text",
                    "bot_command"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"bot_command\"",
                        "type": "string",
                        "const": "bot_command"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "bot_command": {
                        "description": "The bot command",
                        "type": "string"
                    }
                }
            },
            "RichTextCodeInput": {
                "type": "object",
                "description": "A monowidth text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"code\"",
                        "type": "string",
                        "const": "code"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichTextCodeOutput": {
                "type": "object",
                "description": "A monowidth text.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"code\"",
                        "type": "string",
                        "const": "code"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichTextTextMentionInput": {
                "type": "object",
                "description": "A mention of a Telegram user by their identifier.",
                "required": [
                    "type",
                    "text",
                    "user"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"text_mention\"",
                        "type": "string",
                        "const": "text_mention"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "user": {
                        "description": "The mentioned user",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "RichTextTextMentionOutput": {
                "type": "object",
                "description": "A mention of a Telegram user by their identifier.",
                "required": [
                    "type",
                    "text",
                    "user"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"text_mention\"",
                        "type": "string",
                        "const": "text_mention"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "user": {
                        "description": "The mentioned user",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "RichTextUrlInput": {
                "type": "object",
                "description": "A text with a link.",
                "required": [
                    "type",
                    "text",
                    "url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"url\"",
                        "type": "string",
                        "const": "url"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "url": {
                        "description": "URL of the link",
                        "type": "string"
                    }
                }
            },
            "RichTextUrlOutput": {
                "type": "object",
                "description": "A text with a link.",
                "required": [
                    "type",
                    "text",
                    "url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"url\"",
                        "type": "string",
                        "const": "url"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "url": {
                        "description": "URL of the link",
                        "type": "string"
                    }
                }
            },
            "RichTextEmailAddressInput": {
                "type": "object",
                "description": "A text with an email address.",
                "required": [
                    "type",
                    "text",
                    "email_address"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"email_address\"",
                        "type": "string",
                        "const": "email_address"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "email_address": {
                        "description": "The email address",
                        "type": "string"
                    }
                }
            },
            "RichTextEmailAddressOutput": {
                "type": "object",
                "description": "A text with an email address.",
                "required": [
                    "type",
                    "text",
                    "email_address"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"email_address\"",
                        "type": "string",
                        "const": "email_address"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "email_address": {
                        "description": "The email address",
                        "type": "string"
                    }
                }
            },
            "RichTextPhoneNumberInput": {
                "type": "object",
                "description": "A text with a phone number.",
                "required": [
                    "type",
                    "text",
                    "phone_number"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"phone_number\"",
                        "type": "string",
                        "const": "phone_number"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "phone_number": {
                        "description": "The phone number",
                        "type": "string"
                    }
                }
            },
            "RichTextPhoneNumberOutput": {
                "type": "object",
                "description": "A text with a phone number.",
                "required": [
                    "type",
                    "text",
                    "phone_number"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"phone_number\"",
                        "type": "string",
                        "const": "phone_number"
                    },
                    "text": {
                        "description": "The text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "phone_number": {
                        "description": "The phone number",
                        "type": "string"
                    }
                }
            },
            "RichTextReferenceInput": {
                "type": "object",
                "description": "A reference.",
                "required": [
                    "type",
                    "text",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"reference\"",
                        "type": "string",
                        "const": "reference"
                    },
                    "text": {
                        "description": "Text of the reference",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "name": {
                        "description": "The name of the reference",
                        "type": "string"
                    }
                }
            },
            "RichTextReferenceOutput": {
                "type": "object",
                "description": "A reference.",
                "required": [
                    "type",
                    "text",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"reference\"",
                        "type": "string",
                        "const": "reference"
                    },
                    "text": {
                        "description": "Text of the reference",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "name": {
                        "description": "The name of the reference",
                        "type": "string"
                    }
                }
            },
            "RichTextReferenceLinkInput": {
                "type": "object",
                "description": "A link to a reference.",
                "required": [
                    "type",
                    "text",
                    "reference_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"reference_link\"",
                        "type": "string",
                        "const": "reference_link"
                    },
                    "text": {
                        "description": "The link text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "reference_name": {
                        "description": "The name of the reference",
                        "type": "string"
                    }
                }
            },
            "RichTextReferenceLinkOutput": {
                "type": "object",
                "description": "A link to a reference.",
                "required": [
                    "type",
                    "text",
                    "reference_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"reference_link\"",
                        "type": "string",
                        "const": "reference_link"
                    },
                    "text": {
                        "description": "The link text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "reference_name": {
                        "description": "The name of the reference",
                        "type": "string"
                    }
                }
            },
            "RichTextAnchorLinkInput": {
                "type": "object",
                "description": "A link to an anchor.",
                "required": [
                    "type",
                    "text",
                    "anchor_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"anchor_link\"",
                        "type": "string",
                        "const": "anchor_link"
                    },
                    "text": {
                        "description": "The link text",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "anchor_name": {
                        "description": "The name of the anchor. If the name is empty, then the link brings back to the top of the message.",
                        "type": "string"
                    }
                }
            },
            "RichTextAnchorLinkOutput": {
                "type": "object",
                "description": "A link to an anchor.",
                "required": [
                    "type",
                    "text",
                    "anchor_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"anchor_link\"",
                        "type": "string",
                        "const": "anchor_link"
                    },
                    "text": {
                        "description": "The link text",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "anchor_name": {
                        "description": "The name of the anchor. If the name is empty, then the link brings back to the top of the message.",
                        "type": "string"
                    }
                }
            },
            "RichTextCustomEmoji": {
                "type": "object",
                "description": "A custom emoji.",
                "required": [
                    "type",
                    "custom_emoji_id",
                    "alternative_text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"custom_emoji\"",
                        "type": "string",
                        "const": "custom_emoji"
                    },
                    "custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji. Use [getCustomEmojiStickers](https://core.telegram.org/bots/api#getcustomemojistickers) to get full information about the sticker.",
                        "type": "string"
                    },
                    "alternative_text": {
                        "description": "Alternative emoji for the custom emoji",
                        "type": "string"
                    }
                }
            },
            "RichTextMathematicalExpression": {
                "type": "object",
                "description": "A mathematical expression.",
                "required": [
                    "type",
                    "expression"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"mathematical_expression\"",
                        "type": "string",
                        "const": "mathematical_expression"
                    },
                    "expression": {
                        "description": "The expression in LaTeX format",
                        "type": "string"
                    }
                }
            },
            "RichTextButtonInput": {
                "type": "object",
                "description": "A button.",
                "required": [
                    "type",
                    "button"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"button\"",
                        "type": "string",
                        "const": "button"
                    },
                    "button": {
                        "description": "The button",
                        "$ref": "#/components/schemas/RichMessageButtonInput"
                    }
                }
            },
            "RichTextButtonOutput": {
                "type": "object",
                "description": "A button.",
                "required": [
                    "type",
                    "button"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"button\"",
                        "type": "string",
                        "const": "button"
                    },
                    "button": {
                        "description": "The button",
                        "$ref": "#/components/schemas/RichMessageButtonOutput"
                    }
                }
            },
            "RichTextAnchor": {
                "type": "object",
                "description": "An anchor.",
                "required": [
                    "type",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the rich text, always \"anchor\"",
                        "type": "string",
                        "const": "anchor"
                    },
                    "name": {
                        "description": "The name of the anchor",
                        "type": "string"
                    }
                }
            },
            "RichMessageButtonInput": {
                "type": "object",
                "description": "This object represents a button in a [RichMessage](https://core.telegram.org/bots/api#richmessage). Exactly one of the fields other than *text* and *style* must be used to specify the type of the button.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Text of the button. May contain only plain text, [RichTextCustomEmoji](https://core.telegram.org/bots/api#richtextcustomemoji) and [RichTextDateTime](https://core.telegram.org/bots/api#richtextdatetime) entities.",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "style": {
                        "description": "Style of the button. Must be one of \"danger\", \"success\", \"primary\", or \"link\" (the button is shown as a regular link without borders). Apps may use theme-specific colors for the button background and text based on the style. The style \"link\" is allowed only for callback buttons.",
                        "type": "string",
                        "enum": [
                            "primary",
                            "danger",
                            "success",
                            "link"
                        ]
                    },
                    "url": {
                        "description": "HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the [Web App](https://core.telegram.org/bots/webapps) that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery). Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a business account.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    },
                    "callback_data": {
                        "description": "Data to be sent in a [callback query](https://core.telegram.org/bots/api#callbackquery) to the bot when the button is pressed, 1-64 bytes",
                        "type": "string"
                    },
                    "switch_inline_query_current_chat": {
                        "description": "If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted.\n\nThis offers a quick way for the user to open your bot in inline mode in the same chat - good for selecting something from multiple options. Not supported in channels and for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query_chosen_chat": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "$ref": "#/components/schemas/SwitchInlineQueryChosenChatInput"
                    },
                    "copy_text": {
                        "description": "Description of the button that copies the specified text to the clipboard",
                        "$ref": "#/components/schemas/CopyTextButton"
                    },
                    "login_url": {
                        "$ref": "#/components/schemas/LoginUrl"
                    }
                }
            },
            "RichMessageButtonOutput": {
                "type": "object",
                "description": "This object represents a button in a [RichMessage](https://core.telegram.org/bots/api#richmessage). Exactly one of the fields other than *text* and *style* must be used to specify the type of the button.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Text of the button. May contain only plain text, [RichTextCustomEmoji](https://core.telegram.org/bots/api#richtextcustomemoji) and [RichTextDateTime](https://core.telegram.org/bots/api#richtextdatetime) entities.",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "style": {
                        "description": "Style of the button. Must be one of \"danger\", \"success\", \"primary\", or \"link\" (the button is shown as a regular link without borders). Apps may use theme-specific colors for the button background and text based on the style. The style \"link\" is allowed only for callback buttons.",
                        "type": "string",
                        "enum": [
                            "primary",
                            "danger",
                            "success",
                            "link"
                        ]
                    },
                    "url": {
                        "description": "HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the [Web App](https://core.telegram.org/bots/webapps) that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery). Available only in private chats between a user and the bot. Not supported for messages sent on behalf of a business account.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    },
                    "callback_data": {
                        "description": "Data to be sent in a [callback query](https://core.telegram.org/bots/api#callbackquery) to the bot when the button is pressed, 1-64 bytes",
                        "type": "string"
                    },
                    "switch_inline_query_current_chat": {
                        "description": "If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted.\n\nThis offers a quick way for the user to open your bot in inline mode in the same chat - good for selecting something from multiple options. Not supported in channels and for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "type": "string"
                    },
                    "switch_inline_query_chosen_chat": {
                        "description": "If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent in channel direct messages chats and on behalf of a business account.",
                        "$ref": "#/components/schemas/SwitchInlineQueryChosenChatOutput"
                    },
                    "copy_text": {
                        "description": "Description of the button that copies the specified text to the clipboard",
                        "$ref": "#/components/schemas/CopyTextButton"
                    },
                    "disabled": {
                        "description": "If set, then the button is disabled and does nothing",
                        "$ref": "#/components/schemas/DisabledButton"
                    }
                }
            },
            "RichBlockTableCellInput": {
                "type": "object",
                "description": "Cell in a table.",
                "properties": {
                    "text": {
                        "description": "Text in the cell. If omitted, then the cell is invisible.",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "is_header": {
                        "description": "*True*, if the cell is a header cell",
                        "type": "boolean"
                    },
                    "colspan": {
                        "description": "The number of columns the cell spans if it is bigger than 1",
                        "type": "integer"
                    },
                    "rowspan": {
                        "description": "The number of rows the cell spans if it is bigger than 1",
                        "type": "integer"
                    },
                    "align": {
                        "description": "Horizontal cell content alignment, currently can be \"left\", \"center\", or \"right\", defaults to \"left\", or \"center\" if *is_header* is *True*",
                        "type": "string",
                        "enum": [
                            "left",
                            "center",
                            "right"
                        ]
                    },
                    "valign": {
                        "description": "Vertical cell content alignment, currently can be \"top\", \"middle\", or \"bottom\", defaults to \"middle\"",
                        "type": "string",
                        "enum": [
                            "top",
                            "middle",
                            "bottom"
                        ],
                        "default": "middle"
                    }
                }
            },
            "RichBlockTableCellOutput": {
                "type": "object",
                "description": "Cell in a table.",
                "required": [
                    "align",
                    "valign"
                ],
                "properties": {
                    "text": {
                        "description": "Text in the cell. If omitted, then the cell is invisible.",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "is_header": {
                        "description": "*True*, if the cell is a header cell",
                        "type": "boolean",
                        "const": true
                    },
                    "colspan": {
                        "description": "The number of columns the cell spans if it is bigger than 1",
                        "type": "integer"
                    },
                    "rowspan": {
                        "description": "The number of rows the cell spans if it is bigger than 1",
                        "type": "integer"
                    },
                    "align": {
                        "description": "Horizontal cell content alignment, currently can be \"left\", \"center\", or \"right\", defaults to \"left\", or \"center\" if *is_header* is *True*",
                        "type": "string",
                        "enum": [
                            "left",
                            "center",
                            "right"
                        ]
                    },
                    "valign": {
                        "description": "Vertical cell content alignment, currently can be \"top\", \"middle\", or \"bottom\", defaults to \"middle\"",
                        "type": "string",
                        "enum": [
                            "top",
                            "middle",
                            "bottom"
                        ],
                        "default": "middle"
                    }
                }
            },
            "RichBlockCaptionInput": {
                "type": "object",
                "description": "Caption of a rich formatted block.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Block caption",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "credit": {
                        "description": "Block credit which corresponds to the HTML tag &lt;cite&gt;",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "RichBlockCaptionOutput": {
                "type": "object",
                "description": "Caption of a rich formatted block.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Block caption",
                        "$ref": "#/components/schemas/RichTextOutput"
                    },
                    "credit": {
                        "description": "Block credit which corresponds to the HTML tag &lt;cite&gt;",
                        "$ref": "#/components/schemas/RichTextOutput"
                    }
                }
            },
            "RichBlockListItem": {
                "type": "object",
                "description": "An item of a list.",
                "required": [
                    "label",
                    "blocks"
                ],
                "properties": {
                    "label": {
                        "description": "Label of the item",
                        "type": "string"
                    },
                    "blocks": {
                        "description": "The content of the item",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "has_checkbox": {
                        "description": "*True*, if the item has a checkbox",
                        "type": "boolean",
                        "const": true
                    },
                    "is_checked": {
                        "description": "*True*, if the item has a checked checkbox",
                        "type": "boolean",
                        "const": true
                    },
                    "type": {
                        "description": "For ordered lists, the type of the item label; must be one of \"a\" for lowercase letters, \"A\" for uppercase letters, \"i\" for lowercase Roman numerals, \"I\" for uppercase Roman numerals, or \"1\" for decimal numbers",
                        "type": "string"
                    },
                    "value": {
                        "description": "For ordered lists, the numeric value of the item label",
                        "type": "integer"
                    }
                }
            },
            "RichMessage": {
                "type": "object",
                "description": "Rich formatted message.",
                "required": [
                    "blocks"
                ],
                "properties": {
                    "blocks": {
                        "description": "Content of the message",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichBlock"
                        }
                    },
                    "is_rtl": {
                        "description": "*True*, if the rich message must be shown right-to-left",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "LinkPreviewOptionsInput": {
                "type": "object",
                "description": "Describes the options used for link preview generation.",
                "properties": {
                    "is_disabled": {
                        "description": "*True*, if the link preview is disabled",
                        "type": "boolean"
                    },
                    "url": {
                        "description": "URL to use for the link preview. If empty, then the first URL found in the message text will be used.",
                        "type": "string"
                    },
                    "prefer_small_media": {
                        "description": "*True*, if the media in the link preview is supposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview",
                        "type": "boolean"
                    },
                    "prefer_large_media": {
                        "description": "*True*, if the media in the link preview is supposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview",
                        "type": "boolean"
                    },
                    "show_above_text": {
                        "description": "*True*, if the link preview must be shown above the message text; otherwise, the link preview will be shown below the message text",
                        "type": "boolean"
                    }
                }
            },
            "LinkPreviewOptionsOutput": {
                "type": "object",
                "description": "Describes the options used for link preview generation.",
                "properties": {
                    "is_disabled": {
                        "description": "*True*, if the link preview is disabled",
                        "type": "boolean",
                        "const": true
                    },
                    "url": {
                        "description": "URL to use for the link preview. If empty, then the first URL found in the message text will be used.",
                        "type": "string"
                    },
                    "prefer_small_media": {
                        "description": "*True*, if the media in the link preview is supposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview",
                        "type": "boolean",
                        "const": true
                    },
                    "prefer_large_media": {
                        "description": "*True*, if the media in the link preview is supposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview",
                        "type": "boolean",
                        "const": true
                    },
                    "show_above_text": {
                        "description": "*True*, if the link preview must be shown above the message text; otherwise, the link preview will be shown below the message text",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "TextQuote": {
                "type": "object",
                "description": "This object contains information about the quoted part of a message that is replied to by the given message.",
                "required": [
                    "text",
                    "position"
                ],
                "properties": {
                    "text": {
                        "description": "Text of the quoted part of a message that is replied to by the given message",
                        "type": "string"
                    },
                    "entities": {
                        "description": "Special entities that appear in the quote. Currently, only *bold*, *italic*, *underline*, *strikethrough*, *spoiler*, *custom_emoji*, and *date_time* entities are kept in quotes.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityOutput"
                        }
                    },
                    "position": {
                        "description": "Approximate quote position in the original message in UTF-16 code units as specified by the sender",
                        "type": "integer"
                    },
                    "is_manual": {
                        "description": "*True*, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "InlineQuery": {
                "type": "object",
                "description": "This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.",
                "required": [
                    "id",
                    "from",
                    "query",
                    "offset"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this query",
                        "type": "string"
                    },
                    "from": {
                        "description": "Sender",
                        "$ref": "#/components/schemas/User"
                    },
                    "location": {
                        "description": "Sender location, only for bots that request user location",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "chat_type": {
                        "description": "Type of the chat from which the inline query was sent. Can be either \"sender\" for a private chat with the inline query sender, \"private\", \"group\", \"supergroup\", or \"channel\". The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat.",
                        "type": "string",
                        "enum": [
                            "sender",
                            "private",
                            "group",
                            "channel",
                            "supergroup"
                        ]
                    },
                    "query": {
                        "description": "Text of the query, 0-256 characters",
                        "type": "string",
                        "maxLength": 256
                    },
                    "offset": {
                        "description": "Offset of the results to be returned, can be controlled by the bot",
                        "type": "string"
                    }
                }
            },
            "ChosenInlineResult": {
                "type": "object",
                "description": "Represents a [result](https://core.telegram.org/bots/api#inlinequeryresult) of an inline query that was chosen by the user and sent to their chat partner.\n\n**Note:** It is necessary to enable [inline feedback](https://core.telegram.org/bots/inline#collecting-feedback) via [@BotFather](https://t.me/botfather) in order to receive these objects in updates.",
                "required": [
                    "from",
                    "query",
                    "result_id"
                ],
                "properties": {
                    "from": {
                        "description": "The user that chose the result",
                        "$ref": "#/components/schemas/User"
                    },
                    "location": {
                        "description": "Sender location, only for bots that require user location",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "inline_message_id": {
                        "description": "Identifier of the sent inline message. Available only if there is an [inline keyboard](https://core.telegram.org/bots/api#inlinekeyboardmarkup) attached to the message. Will be also received in [callback queries](https://core.telegram.org/bots/api#callbackquery) and can be used to [edit](https://core.telegram.org/bots/api#updating-messages) the message.",
                        "type": "string"
                    },
                    "query": {
                        "description": "The query that was used to obtain the result",
                        "type": "string"
                    },
                    "result_id": {
                        "description": "The unique identifier for the result that was chosen",
                        "type": "string"
                    }
                }
            },
            "BotCommandInput": {
                "type": "object",
                "description": "This object represents a bot command.",
                "required": [
                    "command",
                    "description"
                ],
                "properties": {
                    "command": {
                        "description": "Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                    },
                    "description": {
                        "description": "Description of the command, 1-256 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                    },
                    "is_ephemeral": {
                        "description": "*True*, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot",
                        "type": "boolean"
                    }
                }
            },
            "BotCommandOutput": {
                "type": "object",
                "description": "This object represents a bot command.",
                "required": [
                    "command",
                    "description"
                ],
                "properties": {
                    "command": {
                        "description": "Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                    },
                    "description": {
                        "description": "Description of the command, 1-256 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                    },
                    "is_ephemeral": {
                        "description": "*True*, if the command sends an ephemeral message, which can be seen only by the sender of the message and the bot",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "BotName": {
                "type": "object",
                "description": "This object represents the bot's name.",
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "description": "The bot's name",
                        "type": "string"
                    }
                }
            },
            "BotDescription": {
                "type": "object",
                "description": "This object represents the bot's description.",
                "required": [
                    "description"
                ],
                "properties": {
                    "description": {
                        "description": "The bot's description",
                        "type": "string"
                    }
                }
            },
            "BotShortDescription": {
                "type": "object",
                "description": "This object represents the bot's short description.",
                "required": [
                    "short_description"
                ],
                "properties": {
                    "short_description": {
                        "description": "The bot's short description",
                        "type": "string"
                    }
                }
            },
            "ChatMemberUpdated": {
                "type": "object",
                "description": "This object represents changes in the status of a chat member.",
                "required": [
                    "chat",
                    "from",
                    "date",
                    "old_chat_member",
                    "new_chat_member"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat the user belongs to",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "from": {
                        "description": "Performer of the action, which resulted in the change",
                        "$ref": "#/components/schemas/User"
                    },
                    "date": {
                        "description": "Date the change was done in Unix time",
                        "type": "integer"
                    },
                    "old_chat_member": {
                        "description": "Previous information about the chat member",
                        "$ref": "#/components/schemas/ChatMember"
                    },
                    "new_chat_member": {
                        "description": "New information about the chat member",
                        "$ref": "#/components/schemas/ChatMember"
                    },
                    "invite_link": {
                        "description": "Chat invite link, which was used by the user to join the chat; for joining by invite link events only",
                        "$ref": "#/components/schemas/ChatInviteLink"
                    },
                    "via_join_request": {
                        "description": "*True*, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator",
                        "type": "boolean",
                        "const": true
                    },
                    "via_chat_folder_invite_link": {
                        "description": "*True*, if the user joined the chat via a chat folder invite link",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ChatJoinRequest": {
                "type": "object",
                "description": "Represents a join request sent to a chat.",
                "required": [
                    "chat",
                    "from",
                    "user_chat_id",
                    "date"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat to which the request was sent",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "from": {
                        "description": "User that sent the join request",
                        "$ref": "#/components/schemas/User"
                    },
                    "user_chat_id": {
                        "description": "Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.",
                        "type": "integer"
                    },
                    "date": {
                        "description": "Date the request was sent in Unix time",
                        "type": "integer"
                    },
                    "bio": {
                        "description": "Bio of the user",
                        "type": "string"
                    },
                    "invite_link": {
                        "description": "Chat invite link that was used by the user to send the join request",
                        "$ref": "#/components/schemas/ChatInviteLink"
                    },
                    "query_id": {
                        "description": "Identifier of the join request query; for bots assigned to process join requests only. If present, then the bot must call [sendChatJoinRequestWebApp](https://core.telegram.org/bots/api#sendchatjoinrequestwebapp) or directly call [answerChatJoinRequestQuery](https://core.telegram.org/bots/api#answerchatjoinrequestquery) within 10 seconds.",
                        "type": "string"
                    }
                }
            },
            "ChatBoostUpdated": {
                "type": "object",
                "description": "This object represents a boost added to a chat or changed.",
                "required": [
                    "chat",
                    "boost"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat which was boosted",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "boost": {
                        "description": "Information about the chat boost",
                        "$ref": "#/components/schemas/ChatBoost"
                    }
                }
            },
            "ChatBoostRemoved": {
                "type": "object",
                "description": "This object represents a boost removed from a chat.",
                "required": [
                    "chat",
                    "boost_id",
                    "remove_date",
                    "source"
                ],
                "properties": {
                    "chat": {
                        "description": "Chat which was boosted",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "boost_id": {
                        "description": "Unique identifier of the boost",
                        "type": "string"
                    },
                    "remove_date": {
                        "description": "Point in time (Unix timestamp) when the boost was removed",
                        "type": "integer"
                    },
                    "source": {
                        "description": "Source of the removed boost",
                        "$ref": "#/components/schemas/ChatBoostSource"
                    }
                }
            },
            "UserChatBoosts": {
                "type": "object",
                "description": "This object represents a list of boosts added to a chat by a user.",
                "required": [
                    "boosts"
                ],
                "properties": {
                    "boosts": {
                        "description": "The list of boosts added to the chat by the user",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ChatBoost"
                        }
                    }
                }
            },
            "GameHighScore": {
                "type": "object",
                "description": "This object represents one row of the high scores table for a game.",
                "required": [
                    "position",
                    "user",
                    "score"
                ],
                "properties": {
                    "position": {
                        "description": "Position in high score table for the game",
                        "type": "integer"
                    },
                    "user": {
                        "description": "User",
                        "$ref": "#/components/schemas/User"
                    },
                    "score": {
                        "description": "Score",
                        "type": "integer"
                    }
                }
            },
            "MessageReactionUpdated": {
                "type": "object",
                "description": "This object represents a change of a reaction on a message performed by a user.",
                "required": [
                    "chat",
                    "message_id",
                    "date",
                    "old_reaction",
                    "new_reaction"
                ],
                "properties": {
                    "chat": {
                        "description": "The chat containing the message the user reacted to",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_id": {
                        "description": "Unique identifier of the message inside the chat",
                        "type": "integer"
                    },
                    "user": {
                        "description": "The user that changed the reaction, if the user isn't anonymous",
                        "$ref": "#/components/schemas/User"
                    },
                    "actor_chat": {
                        "description": "The chat on behalf of which the reaction was changed, if the user is anonymous",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "date": {
                        "description": "Date of the change in Unix time",
                        "type": "integer"
                    },
                    "old_reaction": {
                        "description": "Previous list of reaction types that were set by the user",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ReactionType"
                        }
                    },
                    "new_reaction": {
                        "description": "New list of reaction types that have been set by the user",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ReactionType"
                        }
                    }
                }
            },
            "MessageReactionCountUpdated": {
                "type": "object",
                "description": "This object represents reaction changes on a message with anonymous reactions.",
                "required": [
                    "chat",
                    "message_id",
                    "date",
                    "reactions"
                ],
                "properties": {
                    "chat": {
                        "description": "The chat containing the message",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_id": {
                        "description": "Unique message identifier inside the chat",
                        "type": "integer"
                    },
                    "date": {
                        "description": "Date of the change in Unix time",
                        "type": "integer"
                    },
                    "reactions": {
                        "description": "List of reactions that are present on the message",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ReactionCount"
                        }
                    }
                }
            },
            "BusinessMessagesDeleted": {
                "type": "object",
                "description": "This object is received when messages are deleted from a connected business account.",
                "required": [
                    "business_connection_id",
                    "chat",
                    "message_ids"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "chat": {
                        "description": "Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "message_ids": {
                        "description": "The list of identifiers of deleted messages in the chat of the business account",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    }
                }
            },
            "SentWebAppMessage": {
                "type": "object",
                "description": "Describes an inline message sent by a [Web App](https://core.telegram.org/bots/webapps) on behalf of a user.",
                "properties": {
                    "inline_message_id": {
                        "description": "Identifier of the sent inline message. Available only if there is an [inline keyboard](https://core.telegram.org/bots/api#inlinekeyboardmarkup) attached to the message.",
                        "type": "string"
                    }
                }
            },
            "SentGuestMessage": {
                "type": "object",
                "description": "Describes an inline message sent by a guest bot.",
                "required": [
                    "inline_message_id"
                ],
                "properties": {
                    "inline_message_id": {
                        "description": "Identifier of the sent inline message",
                        "type": "string"
                    }
                }
            },
            "PreparedInlineMessage": {
                "type": "object",
                "description": "Describes an inline message to be sent by a user of a Mini App.",
                "required": [
                    "id",
                    "expiration_date"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the prepared message",
                        "type": "string"
                    },
                    "expiration_date": {
                        "description": "Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used.",
                        "type": "integer"
                    }
                }
            },
            "WebhookInfo": {
                "type": "object",
                "description": "Describes the current status of a webhook.",
                "required": [
                    "url",
                    "has_custom_certificate",
                    "pending_update_count"
                ],
                "properties": {
                    "url": {
                        "description": "Webhook URL, may be empty if webhook is not set up",
                        "type": "string"
                    },
                    "has_custom_certificate": {
                        "description": "*True*, if a custom certificate was provided for webhook certificate checks",
                        "type": "boolean"
                    },
                    "pending_update_count": {
                        "description": "Number of updates awaiting delivery",
                        "type": "integer"
                    },
                    "last_error_date": {
                        "description": "Unix time for the most recent error that happened when trying to deliver an update via webhook",
                        "type": "integer"
                    },
                    "last_error_message": {
                        "description": "Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook",
                        "type": "string"
                    },
                    "max_connections": {
                        "description": "The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery",
                        "type": "integer"
                    },
                    "ip_address": {
                        "description": "Currently used webhook IP address",
                        "type": "string"
                    },
                    "allowed_updates": {
                        "description": "A list of update types the bot is subscribed to. Defaults to all update types except *chat_member*, *message_reaction*, and *message_reaction_count*.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "last_synchronization_error_date": {
                        "description": "Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters",
                        "type": "integer"
                    }
                }
            },
            "MessageId": {
                "type": "object",
                "description": "This object represents a unique message identifier.",
                "required": [
                    "message_id"
                ],
                "properties": {
                    "message_id": {
                        "description": "Unique message identifier. In specific instances (e.g., message containing a video sent to a big chat), the server might automatically schedule a message instead of sending it immediately. In such cases, this field will be 0 and the relevant message will be unusable until it is actually sent.",
                        "type": "integer"
                    }
                }
            },
            "CallbackQuery": {
                "type": "object",
                "description": "This object represents an incoming callback query from a callback button in an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards). If the button that originated the query was attached to a message sent by the bot, the field *message* will be present. If the button was attached to a message sent via the bot (in [inline mode](https://core.telegram.org/bots/api#inline-mode)), the field *inline_message_id* will be present. Exactly one of the fields *data* or *game_short_name* will be present.\n\n>**NOTE:** After the user presses a callback button, Telegram clients will display a progress bar until you call [answerCallbackQuery](https://core.telegram.org/bots/api#answercallbackquery). It is, therefore, necessary to react by calling [answerCallbackQuery](https://core.telegram.org/bots/api#answercallbackquery) even if no notification to the user is needed (e.g., without specifying any of the optional parameters).",
                "required": [
                    "id",
                    "from",
                    "chat_instance"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this query",
                        "type": "string"
                    },
                    "from": {
                        "description": "Sender",
                        "$ref": "#/components/schemas/User"
                    },
                    "message": {
                        "description": "Message sent by the bot with the callback button that originated the query",
                        "$ref": "#/components/schemas/MaybeInaccessibleMessage"
                    },
                    "chat_instance": {
                        "description": "Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in [games](https://core.telegram.org/bots/api#games).",
                        "type": "string"
                    },
                    "data": {
                        "description": "Data associated with the callback button. Be aware that the message originated the query can contain no callback buttons with this data.",
                        "type": "string"
                    },
                    "game_short_name": {
                        "description": "Short name of a [Game](https://core.telegram.org/bots/api#game) to be returned, serves as the unique identifier for the game",
                        "type": "string"
                    },
                    "inline_message_id": {
                        "description": "Identifier of the message sent via the bot in inline mode, that originated the query",
                        "type": "string"
                    }
                }
            },
            "ReactionTypeEmoji": {
                "type": "object",
                "description": "The reaction is based on an emoji.",
                "required": [
                    "type",
                    "emoji"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the reaction, always \"emoji\"",
                        "type": "string",
                        "const": "emoji"
                    },
                    "emoji": {
                        "description": "Reaction emoji. Currently, it can be one of {emoji_reactions}.",
                        "type": "string"
                    }
                }
            },
            "ReactionTypeCustomEmoji": {
                "type": "object",
                "description": "The reaction is based on a custom emoji.",
                "required": [
                    "type",
                    "custom_emoji_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the reaction, always \"custom_emoji\"",
                        "type": "string",
                        "const": "custom_emoji"
                    },
                    "custom_emoji_id": {
                        "description": "Custom emoji identifier",
                        "type": "string"
                    }
                }
            },
            "ReactionTypePaid": {
                "type": "object",
                "description": "The reaction is paid.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the reaction, always \"paid\"",
                        "type": "string",
                        "const": "paid"
                    }
                }
            },
            "ReactionCount": {
                "type": "object",
                "description": "Represents a reaction added to a message along with the number of times it was added.",
                "required": [
                    "type",
                    "total_count"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the reaction",
                        "$ref": "#/components/schemas/ReactionType"
                    },
                    "total_count": {
                        "description": "Number of times the reaction was added",
                        "type": "integer"
                    }
                }
            },
            "BotAccessSettings": {
                "type": "object",
                "description": "This object describes the access settings of a bot.",
                "required": [
                    "is_access_restricted"
                ],
                "properties": {
                    "is_access_restricted": {
                        "description": "*True*, if only selected users can access the bot. The bot's owner can always access it.",
                        "type": "boolean"
                    },
                    "added_users": {
                        "description": "The list of other users who have access to the bot if the access is restricted",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/User"
                        }
                    }
                }
            },
            "Birthdate": {
                "type": "object",
                "description": "Describes the birthdate of a user.",
                "required": [
                    "day",
                    "month"
                ],
                "properties": {
                    "day": {
                        "description": "Day of the user's birth, 1-31",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 31
                    },
                    "month": {
                        "description": "Month of the user's birth, 1-12",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12
                    },
                    "year": {
                        "description": "Year of the user's birth",
                        "type": "integer"
                    }
                }
            },
            "BusinessIntro": {
                "type": "object",
                "description": "Contains information about the start page settings of a Telegram Business account.",
                "properties": {
                    "title": {
                        "description": "Title text of the business intro",
                        "type": "string"
                    },
                    "message": {
                        "description": "Message text of the business intro",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "Sticker of the business intro",
                        "$ref": "#/components/schemas/Sticker"
                    }
                }
            },
            "BusinessLocation": {
                "type": "object",
                "description": "Contains information about the location of a Telegram Business account.",
                "required": [
                    "address"
                ],
                "properties": {
                    "location": {
                        "description": "Location of the business",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "address": {
                        "description": "Address of the business",
                        "type": "string"
                    }
                }
            },
            "BusinessOpeningHoursInterval": {
                "type": "object",
                "description": "Describes an interval of time during which a business is open.",
                "required": [
                    "opening_minute",
                    "closing_minute"
                ],
                "properties": {
                    "opening_minute": {
                        "description": "The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 \\* 24 \\* 60",
                        "type": "integer"
                    },
                    "closing_minute": {
                        "description": "The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 \\* 24 \\* 60",
                        "type": "integer"
                    }
                }
            },
            "BusinessOpeningHours": {
                "type": "object",
                "description": "Describes the opening hours of a business.",
                "required": [
                    "opening_hours",
                    "time_zone_name"
                ],
                "properties": {
                    "opening_hours": {
                        "description": "List of time intervals describing business opening hours",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/BusinessOpeningHoursInterval"
                        }
                    },
                    "time_zone_name": {
                        "description": "Unique name of the time zone for which the opening hours are defined",
                        "type": "string"
                    }
                }
            },
            "ChatPermissionsInput": {
                "type": "object",
                "description": "Describes actions that a non-administrator user is allowed to take in a chat.",
                "properties": {
                    "can_send_messages": {
                        "description": "*True*, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues",
                        "type": "boolean"
                    },
                    "can_send_audios": {
                        "description": "*True*, if the user is allowed to send audios",
                        "type": "boolean"
                    },
                    "can_send_documents": {
                        "description": "*True*, if the user is allowed to send documents",
                        "type": "boolean"
                    },
                    "can_send_photos": {
                        "description": "*True*, if the user is allowed to send photos",
                        "type": "boolean"
                    },
                    "can_send_videos": {
                        "description": "*True*, if the user is allowed to send videos",
                        "type": "boolean"
                    },
                    "can_send_video_notes": {
                        "description": "*True*, if the user is allowed to send video notes",
                        "type": "boolean"
                    },
                    "can_send_voice_notes": {
                        "description": "*True*, if the user is allowed to send voice notes",
                        "type": "boolean"
                    },
                    "can_send_polls": {
                        "description": "*True*, if the user is allowed to send polls and checklists",
                        "type": "boolean"
                    },
                    "can_send_other_messages": {
                        "description": "*True*, if the user is allowed to send animations, games, stickers and use inline bots",
                        "type": "boolean"
                    },
                    "can_add_web_page_previews": {
                        "description": "*True*, if the user is allowed to add web page previews to their messages",
                        "type": "boolean"
                    },
                    "can_react_to_messages": {
                        "description": "*True*, if the user is allowed to react to messages. If omitted, defaults to the value of *can_send_messages*.",
                        "type": "boolean"
                    },
                    "can_edit_tag": {
                        "description": "*True*, if the user is allowed to edit their own tag. If omitted, defaults to the value of *can_pin_messages*.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages. Ignored in public supergroups.",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.",
                        "type": "boolean"
                    },
                    "can_send_media_messages": {
                        "type": "boolean"
                    }
                }
            },
            "ChatPermissionsOutput": {
                "type": "object",
                "description": "Describes actions that a non-administrator user is allowed to take in a chat.",
                "required": [
                    "can_send_messages",
                    "can_send_audios",
                    "can_send_documents",
                    "can_send_photos",
                    "can_send_videos",
                    "can_send_video_notes",
                    "can_send_voice_notes",
                    "can_send_polls",
                    "can_send_other_messages",
                    "can_add_web_page_previews",
                    "can_react_to_messages",
                    "can_edit_tag",
                    "can_change_info",
                    "can_invite_users",
                    "can_pin_messages",
                    "can_manage_topics"
                ],
                "properties": {
                    "can_send_messages": {
                        "description": "*True*, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues",
                        "type": "boolean"
                    },
                    "can_send_audios": {
                        "description": "*True*, if the user is allowed to send audios",
                        "type": "boolean"
                    },
                    "can_send_documents": {
                        "description": "*True*, if the user is allowed to send documents",
                        "type": "boolean"
                    },
                    "can_send_photos": {
                        "description": "*True*, if the user is allowed to send photos",
                        "type": "boolean"
                    },
                    "can_send_videos": {
                        "description": "*True*, if the user is allowed to send videos",
                        "type": "boolean"
                    },
                    "can_send_video_notes": {
                        "description": "*True*, if the user is allowed to send video notes",
                        "type": "boolean"
                    },
                    "can_send_voice_notes": {
                        "description": "*True*, if the user is allowed to send voice notes",
                        "type": "boolean"
                    },
                    "can_send_polls": {
                        "description": "*True*, if the user is allowed to send polls and checklists",
                        "type": "boolean"
                    },
                    "can_send_other_messages": {
                        "description": "*True*, if the user is allowed to send animations, games, stickers and use inline bots",
                        "type": "boolean"
                    },
                    "can_add_web_page_previews": {
                        "description": "*True*, if the user is allowed to add web page previews to their messages",
                        "type": "boolean"
                    },
                    "can_react_to_messages": {
                        "description": "*True*, if the user is allowed to react to messages. If omitted, defaults to the value of *can_send_messages*.",
                        "type": "boolean"
                    },
                    "can_edit_tag": {
                        "description": "*True*, if the user is allowed to edit their own tag. If omitted, defaults to the value of *can_pin_messages*.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages. Ignored in public supergroups.",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.",
                        "type": "boolean"
                    }
                }
            },
            "ChatLocation": {
                "type": "object",
                "description": "Represents a location to which a chat is connected.",
                "required": [
                    "location",
                    "address"
                ],
                "properties": {
                    "location": {
                        "description": "The location to which the supergroup is connected. Can't be a live location.",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "address": {
                        "description": "Location address, 1-64 characters, as defined by the chat owner",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                    }
                }
            },
            "ChatInviteLink": {
                "type": "object",
                "description": "Represents an invite link for a chat.",
                "required": [
                    "invite_link",
                    "creator",
                    "creates_join_request",
                    "is_primary",
                    "is_revoked"
                ],
                "properties": {
                    "invite_link": {
                        "description": "The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with \"...\".",
                        "type": "string"
                    },
                    "name": {
                        "description": "Invite link name",
                        "type": "string"
                    },
                    "creator": {
                        "description": "Creator of the link",
                        "$ref": "#/components/schemas/User"
                    },
                    "expire_date": {
                        "description": "Point in time (Unix timestamp) when the link will expire or has been expired",
                        "type": "integer"
                    },
                    "member_limit": {
                        "description": "The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link, 1-99999",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 99999
                    },
                    "pending_join_request_count": {
                        "description": "Number of pending join requests created using this link",
                        "type": "integer"
                    },
                    "subscription_period": {
                        "description": "The number of seconds the subscription will be active for before the next payment",
                        "type": "integer"
                    },
                    "subscription_price": {
                        "description": "The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat using the link",
                        "type": "integer"
                    },
                    "creates_join_request": {
                        "description": "*True*, if users joining the chat via the link need to be approved by chat administrators",
                        "type": "boolean"
                    },
                    "is_primary": {
                        "description": "*True*, if the link is primary",
                        "type": "boolean"
                    },
                    "is_revoked": {
                        "description": "*True*, if the link is revoked",
                        "type": "boolean"
                    }
                }
            },
            "UserRating": {
                "type": "object",
                "description": "This object describes the rating of a user based on their Telegram Star spendings.",
                "required": [
                    "level",
                    "rating",
                    "current_level_rating"
                ],
                "properties": {
                    "level": {
                        "description": "Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern.",
                        "type": "integer"
                    },
                    "rating": {
                        "description": "Numerical value of the user's rating; the higher the rating, the better",
                        "type": "integer"
                    },
                    "current_level_rating": {
                        "description": "The rating value required to get the current level",
                        "type": "integer"
                    },
                    "next_level_rating": {
                        "description": "The rating value required to get to the next level; omitted if the maximum level was reached",
                        "type": "integer"
                    }
                }
            },
            "BackgroundFillSolid": {
                "type": "object",
                "description": "The background is filled using the selected color.",
                "required": [
                    "type",
                    "color"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background fill, always \"solid\"",
                        "type": "string",
                        "const": "solid"
                    },
                    "color": {
                        "description": "The color of the background fill in the RGB24 format",
                        "type": "integer"
                    }
                }
            },
            "BackgroundFillGradient": {
                "type": "object",
                "description": "The background is a gradient fill.",
                "required": [
                    "type",
                    "top_color",
                    "bottom_color",
                    "rotation_angle"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background fill, always \"gradient\"",
                        "type": "string",
                        "const": "gradient"
                    },
                    "top_color": {
                        "description": "Top color of the gradient in the RGB24 format",
                        "type": "integer"
                    },
                    "bottom_color": {
                        "description": "Bottom color of the gradient in the RGB24 format",
                        "type": "integer"
                    },
                    "rotation_angle": {
                        "description": "Clockwise rotation angle of the background fill in degrees, 0-359",
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 359
                    }
                }
            },
            "BackgroundFillFreeformGradient": {
                "type": "object",
                "description": "The background is a freeform gradient that rotates after every message in the chat.",
                "required": [
                    "type",
                    "colors"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background fill, always \"freeform_gradient\"",
                        "type": "string",
                        "const": "freeform_gradient"
                    },
                    "colors": {
                        "description": "A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    }
                }
            },
            "BackgroundType": {
                "description": "This object describes the type of a background.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/BackgroundTypeFill"
                    },
                    {
                        "$ref": "#/components/schemas/BackgroundTypeWallpaper"
                    },
                    {
                        "$ref": "#/components/schemas/BackgroundTypePattern"
                    },
                    {
                        "$ref": "#/components/schemas/BackgroundTypeChatTheme"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "fill": "#/components/schemas/BackgroundTypeFill",
                        "wallpaper": "#/components/schemas/BackgroundTypeWallpaper",
                        "pattern": "#/components/schemas/BackgroundTypePattern",
                        "chat_theme": "#/components/schemas/BackgroundTypeChatTheme"
                    }
                }
            },
            "BackgroundTypeFill": {
                "type": "object",
                "description": "The background is automatically filled based on the selected colors.",
                "required": [
                    "type",
                    "dark_theme_dimming",
                    "fill"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background, always \"fill\"",
                        "type": "string",
                        "const": "fill"
                    },
                    "dark_theme_dimming": {
                        "description": "Dimming of the background in dark themes, as a percentage, 0-100",
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                    },
                    "fill": {
                        "description": "The background fill",
                        "$ref": "#/components/schemas/BackgroundFill"
                    }
                }
            },
            "BackgroundTypeWallpaper": {
                "type": "object",
                "description": "The background is a wallpaper in the JPEG format.",
                "required": [
                    "type",
                    "document",
                    "dark_theme_dimming"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background, always \"wallpaper\"",
                        "type": "string",
                        "const": "wallpaper"
                    },
                    "document": {
                        "description": "Document with the wallpaper or pattern",
                        "$ref": "#/components/schemas/Document"
                    },
                    "dark_theme_dimming": {
                        "description": "Dimming of the background in dark themes, as a percentage, 0-100",
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                    },
                    "is_blurred": {
                        "description": "*True*, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12",
                        "type": "boolean",
                        "const": true
                    },
                    "is_moving": {
                        "description": "*True*, if the background moves slightly when the device is tilted",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "BackgroundTypePattern": {
                "type": "object",
                "description": "The background is a .PNG or .TGV (gzipped subset of SVG with MIME type \"application/x-tgwallpattern\") pattern to be combined with the background fill chosen by the user.",
                "required": [
                    "type",
                    "document",
                    "fill",
                    "intensity"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background, always \"pattern\"",
                        "type": "string",
                        "const": "pattern"
                    },
                    "document": {
                        "description": "Document with the wallpaper or pattern",
                        "$ref": "#/components/schemas/Document"
                    },
                    "fill": {
                        "description": "The background fill that is combined with the pattern",
                        "$ref": "#/components/schemas/BackgroundFill"
                    },
                    "intensity": {
                        "description": "Intensity of the pattern when it is shown above the filled background, 0-100",
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                    },
                    "is_inverted": {
                        "description": "*True*, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.",
                        "type": "boolean",
                        "const": true
                    },
                    "is_moving": {
                        "description": "*True*, if the background moves slightly when the device is tilted",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "BackgroundTypeChatTheme": {
                "type": "object",
                "description": "The background is taken directly from a built-in chat theme.",
                "required": [
                    "type",
                    "theme_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background, always \"chat_theme\"",
                        "type": "string",
                        "const": "chat_theme"
                    },
                    "theme_name": {
                        "description": "Name of the chat theme, which is usually an emoji",
                        "type": "string"
                    }
                }
            },
            "ChatBackground": {
                "type": "object",
                "description": "This object represents a chat background.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the background",
                        "$ref": "#/components/schemas/BackgroundType"
                    }
                }
            },
            "ChatBoostAdded": {
                "type": "object",
                "description": "This object represents a service message about a user boosting a chat.",
                "required": [
                    "boost_count"
                ],
                "properties": {
                    "boost_count": {
                        "description": "Number of boosts added by the user",
                        "type": "integer"
                    }
                }
            },
            "ChatBoostSourcePremium": {
                "type": "object",
                "description": "The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.",
                "required": [
                    "source",
                    "user"
                ],
                "properties": {
                    "source": {
                        "description": "Source of the boost, always \"premium\"",
                        "type": "string",
                        "const": "premium"
                    },
                    "user": {
                        "description": "User that boosted the chat",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ChatBoostSourceGiftCode": {
                "type": "object",
                "description": "The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.",
                "required": [
                    "source",
                    "user"
                ],
                "properties": {
                    "source": {
                        "description": "Source of the boost, always \"gift_code\"",
                        "type": "string",
                        "const": "gift_code"
                    },
                    "user": {
                        "description": "User for which the gift code was created",
                        "$ref": "#/components/schemas/User"
                    }
                }
            },
            "ChatBoostSourceGiveaway": {
                "type": "object",
                "description": "The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and *prize_star_count* / 500 times for one year for Telegram Star giveaways.",
                "required": [
                    "source",
                    "giveaway_message_id"
                ],
                "properties": {
                    "source": {
                        "description": "Source of the boost, always \"giveaway\"",
                        "type": "string",
                        "const": "giveaway"
                    },
                    "giveaway_message_id": {
                        "description": "Identifier of a message in the chat with the giveaway; the message could have been deleted already. May be 0 if the message isn't sent yet.",
                        "type": "integer"
                    },
                    "prize_star_count": {
                        "description": "The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only",
                        "type": "integer"
                    },
                    "user": {
                        "description": "User that won the prize in the giveaway if any; for Telegram Premium giveaways only",
                        "$ref": "#/components/schemas/User"
                    },
                    "is_unclaimed": {
                        "description": "*True*, if the giveaway was completed, but there was no user to win the prize",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ChatBoost": {
                "type": "object",
                "description": "This object contains information about a chat boost.",
                "required": [
                    "boost_id",
                    "add_date",
                    "expiration_date",
                    "source"
                ],
                "properties": {
                    "boost_id": {
                        "description": "Unique identifier of the boost",
                        "type": "string"
                    },
                    "add_date": {
                        "description": "Point in time (Unix timestamp) when the chat was boosted",
                        "type": "integer"
                    },
                    "expiration_date": {
                        "description": "Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged",
                        "type": "integer"
                    },
                    "source": {
                        "description": "Source of the added boost",
                        "$ref": "#/components/schemas/ChatBoostSource"
                    }
                }
            },
            "BusinessBotRights": {
                "type": "object",
                "description": "Represents the rights of a business bot.",
                "properties": {
                    "can_reply": {
                        "description": "*True*, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours",
                        "type": "boolean",
                        "const": true
                    },
                    "can_read_messages": {
                        "description": "*True*, if the bot can mark incoming private messages as read",
                        "type": "boolean",
                        "const": true
                    },
                    "can_delete_sent_messages": {
                        "description": "*True*, if the bot can delete messages sent by the bot",
                        "type": "boolean",
                        "const": true
                    },
                    "can_delete_all_messages": {
                        "description": "*True*, if the bot can delete all private messages in managed chats",
                        "type": "boolean",
                        "const": true
                    },
                    "can_edit_name": {
                        "description": "*True*, if the bot can edit the first and last name of the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_edit_bio": {
                        "description": "*True*, if the bot can edit the bio of the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_edit_profile_photo": {
                        "description": "*True*, if the bot can edit the profile photo of the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_edit_username": {
                        "description": "*True*, if the bot can edit the username of the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_view_gifts_and_stars": {
                        "description": "*True*, if the bot can view gifts and the amount of Telegram Stars owned by the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_convert_gifts_to_stars": {
                        "description": "*True*, if the bot can convert regular gifts owned by the business account to Telegram Stars",
                        "type": "boolean",
                        "const": true
                    },
                    "can_change_gift_settings": {
                        "description": "*True*, if the bot can change the privacy settings pertaining to gifts for the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_transfer_and_upgrade_gifts": {
                        "description": "*True*, if the bot can transfer and upgrade gifts owned by the business account",
                        "type": "boolean",
                        "const": true
                    },
                    "can_transfer_stars": {
                        "description": "*True*, if the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts",
                        "type": "boolean",
                        "const": true
                    },
                    "can_manage_stories": {
                        "description": "*True*, if the bot can post, edit and delete stories on behalf of the business account",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ChatAdministratorRightsInput": {
                "type": "object",
                "description": "Represents the rights of an administrator in a chat.",
                "properties": {
                    "can_manage_chat": {
                        "description": "*True*, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings",
                        "type": "boolean"
                    },
                    "can_post_messages": {
                        "description": "*True*, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only",
                        "type": "boolean"
                    },
                    "can_edit_messages": {
                        "description": "*True*, if the administrator can edit messages of other users and can pin messages; for channels only",
                        "type": "boolean"
                    },
                    "can_delete_messages": {
                        "description": "*True*, if the administrator can delete messages of other users",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_restrict_members": {
                        "description": "*True*, if the administrator can restrict, ban or unban chat members, or access supergroup statistics",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only",
                        "type": "boolean"
                    },
                    "can_promote_members": {
                        "description": "*True*, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user)",
                        "type": "boolean"
                    },
                    "can_manage_video_chats": {
                        "description": "*True*, if the administrator can manage video chats",
                        "type": "boolean"
                    },
                    "can_post_stories": {
                        "description": "*True*, if the administrator can post stories to the chat",
                        "type": "boolean"
                    },
                    "can_edit_stories": {
                        "description": "*True*, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
                        "type": "boolean"
                    },
                    "can_delete_stories": {
                        "description": "*True*, if the administrator can delete stories posted by other users",
                        "type": "boolean"
                    },
                    "can_manage_direct_messages": {
                        "description": "*True*, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only",
                        "type": "boolean"
                    },
                    "can_manage_tags": {
                        "description": "*True*, if the administrator can edit the tags of regular members; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_send_welcome_messages": {
                        "description": "*True*, if the administrator can manage chat welcome messages or directly send them in the case of bots",
                        "type": "boolean"
                    },
                    "is_anonymous": {
                        "description": "*True*, if the user's presence in the chat is hidden",
                        "type": "boolean"
                    }
                }
            },
            "ChatAdministratorRightsOutput": {
                "type": "object",
                "description": "Represents the rights of an administrator in a chat.",
                "required": [
                    "can_manage_chat",
                    "can_change_info",
                    "can_delete_messages",
                    "can_invite_users",
                    "can_restrict_members",
                    "can_promote_members",
                    "can_manage_video_chats",
                    "can_post_stories",
                    "can_edit_stories",
                    "can_delete_stories",
                    "can_send_welcome_messages",
                    "is_anonymous"
                ],
                "properties": {
                    "can_manage_chat": {
                        "description": "*True*, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings",
                        "type": "boolean"
                    },
                    "can_post_messages": {
                        "description": "*True*, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only",
                        "type": "boolean"
                    },
                    "can_edit_messages": {
                        "description": "*True*, if the administrator can edit messages of other users and can pin messages; for channels only",
                        "type": "boolean"
                    },
                    "can_delete_messages": {
                        "description": "*True*, if the administrator can delete messages of other users",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_restrict_members": {
                        "description": "*True*, if the administrator can restrict, ban or unban chat members, or access supergroup statistics",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only",
                        "type": "boolean"
                    },
                    "can_promote_members": {
                        "description": "*True*, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user)",
                        "type": "boolean"
                    },
                    "can_manage_video_chats": {
                        "description": "*True*, if the administrator can manage video chats",
                        "type": "boolean"
                    },
                    "can_post_stories": {
                        "description": "*True*, if the administrator can post stories to the chat",
                        "type": "boolean"
                    },
                    "can_edit_stories": {
                        "description": "*True*, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
                        "type": "boolean"
                    },
                    "can_delete_stories": {
                        "description": "*True*, if the administrator can delete stories posted by other users",
                        "type": "boolean"
                    },
                    "can_manage_direct_messages": {
                        "description": "*True*, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only",
                        "type": "boolean"
                    },
                    "can_manage_tags": {
                        "description": "*True*, if the administrator can edit the tags of regular members; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_send_welcome_messages": {
                        "description": "*True*, if the administrator can manage chat welcome messages or directly send them in the case of bots",
                        "type": "boolean"
                    },
                    "is_anonymous": {
                        "description": "*True*, if the user's presence in the chat is hidden",
                        "type": "boolean"
                    }
                }
            },
            "ChatMember": {
                "description": "This object contains information about one member of a chat.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/ChatMemberOwner"
                    },
                    {
                        "$ref": "#/components/schemas/ChatMemberAdministrator"
                    },
                    {
                        "$ref": "#/components/schemas/ChatMemberMember"
                    },
                    {
                        "$ref": "#/components/schemas/ChatMemberRestricted"
                    },
                    {
                        "$ref": "#/components/schemas/ChatMemberLeft"
                    },
                    {
                        "$ref": "#/components/schemas/ChatMemberBanned"
                    }
                ],
                "discriminator": {
                    "propertyName": "status",
                    "mapping": {
                        "creator": "#/components/schemas/ChatMemberOwner",
                        "administrator": "#/components/schemas/ChatMemberAdministrator",
                        "member": "#/components/schemas/ChatMemberMember",
                        "restricted": "#/components/schemas/ChatMemberRestricted",
                        "left": "#/components/schemas/ChatMemberLeft",
                        "kicked": "#/components/schemas/ChatMemberBanned"
                    }
                }
            },
            "ChatMemberOwner": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that owns the chat and has all administrator privileges.",
                "required": [
                    "user",
                    "status",
                    "is_anonymous"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"creator\"",
                        "type": "string",
                        "const": "creator"
                    },
                    "custom_title": {
                        "description": "Custom title for this user",
                        "type": "string"
                    },
                    "is_anonymous": {
                        "description": "*True*, if the user's presence in the chat is hidden",
                        "type": "boolean"
                    }
                }
            },
            "ChatMemberAdministrator": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that has some additional privileges.",
                "required": [
                    "user",
                    "status",
                    "can_be_edited",
                    "can_manage_chat",
                    "can_change_info",
                    "can_delete_messages",
                    "can_invite_users",
                    "can_restrict_members",
                    "can_promote_members",
                    "can_manage_video_chats",
                    "can_post_stories",
                    "can_edit_stories",
                    "can_delete_stories",
                    "can_send_welcome_messages",
                    "is_anonymous"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"administrator\"",
                        "type": "string",
                        "const": "administrator"
                    },
                    "can_be_edited": {
                        "description": "*True*, if the bot is allowed to edit administrator privileges of that user",
                        "type": "boolean"
                    },
                    "can_manage_chat": {
                        "description": "*True*, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings",
                        "type": "boolean"
                    },
                    "can_post_messages": {
                        "description": "*True*, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only",
                        "type": "boolean"
                    },
                    "can_edit_messages": {
                        "description": "*True*, if the administrator can edit messages of other users and can pin messages; for channels only",
                        "type": "boolean"
                    },
                    "can_delete_messages": {
                        "description": "*True*, if the administrator can delete messages of other users",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_restrict_members": {
                        "description": "*True*, if the administrator can restrict, ban or unban chat members, or access supergroup statistics",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only",
                        "type": "boolean"
                    },
                    "can_promote_members": {
                        "description": "*True*, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user)",
                        "type": "boolean"
                    },
                    "can_manage_video_chats": {
                        "description": "*True*, if the administrator can manage video chats",
                        "type": "boolean"
                    },
                    "can_post_stories": {
                        "description": "*True*, if the administrator can post stories to the chat",
                        "type": "boolean"
                    },
                    "can_edit_stories": {
                        "description": "*True*, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
                        "type": "boolean"
                    },
                    "can_delete_stories": {
                        "description": "*True*, if the administrator can delete stories posted by other users",
                        "type": "boolean"
                    },
                    "can_manage_direct_messages": {
                        "description": "*True*, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only",
                        "type": "boolean"
                    },
                    "can_manage_tags": {
                        "description": "*True*, if the administrator can edit the tags of regular members; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_send_welcome_messages": {
                        "description": "*True*, if the administrator can manage chat welcome messages or directly send them in the case of bots",
                        "type": "boolean"
                    },
                    "is_anonymous": {
                        "description": "*True*, if the user's presence in the chat is hidden",
                        "type": "boolean"
                    },
                    "custom_title": {
                        "description": "Custom title for this user",
                        "type": "string"
                    }
                }
            },
            "ChatMemberMember": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that has no additional privileges or restrictions.",
                "required": [
                    "user",
                    "status"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"member\"",
                        "type": "string",
                        "const": "member"
                    },
                    "tag": {
                        "description": "Tag of the member",
                        "type": "string"
                    },
                    "until_date": {
                        "description": "Date when the user's subscription will expire; Unix time",
                        "type": "integer"
                    }
                }
            },
            "ChatMemberRestricted": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that is under certain restrictions in the chat. Supergroups only.",
                "required": [
                    "user",
                    "status",
                    "until_date",
                    "can_send_messages",
                    "can_send_audios",
                    "can_send_documents",
                    "can_send_photos",
                    "can_send_videos",
                    "can_send_video_notes",
                    "can_send_voice_notes",
                    "can_send_polls",
                    "can_send_other_messages",
                    "can_add_web_page_previews",
                    "can_react_to_messages",
                    "can_edit_tag",
                    "can_change_info",
                    "can_invite_users",
                    "can_pin_messages",
                    "can_manage_topics",
                    "is_member"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"restricted\"",
                        "type": "string",
                        "const": "restricted"
                    },
                    "tag": {
                        "description": "Tag of the member",
                        "type": "string"
                    },
                    "until_date": {
                        "description": "Date when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever.",
                        "type": "integer"
                    },
                    "can_send_messages": {
                        "description": "*True*, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues",
                        "type": "boolean"
                    },
                    "can_send_audios": {
                        "description": "*True*, if the user is allowed to send audios",
                        "type": "boolean"
                    },
                    "can_send_documents": {
                        "description": "*True*, if the user is allowed to send documents",
                        "type": "boolean"
                    },
                    "can_send_photos": {
                        "description": "*True*, if the user is allowed to send photos",
                        "type": "boolean"
                    },
                    "can_send_videos": {
                        "description": "*True*, if the user is allowed to send videos",
                        "type": "boolean"
                    },
                    "can_send_video_notes": {
                        "description": "*True*, if the user is allowed to send video notes",
                        "type": "boolean"
                    },
                    "can_send_voice_notes": {
                        "description": "*True*, if the user is allowed to send voice notes",
                        "type": "boolean"
                    },
                    "can_send_polls": {
                        "description": "*True*, if the user is allowed to send polls and checklists",
                        "type": "boolean"
                    },
                    "can_send_other_messages": {
                        "description": "*True*, if the user is allowed to send animations, games, stickers and use inline bots",
                        "type": "boolean"
                    },
                    "can_add_web_page_previews": {
                        "description": "*True*, if the user is allowed to add web page previews to their messages",
                        "type": "boolean"
                    },
                    "can_react_to_messages": {
                        "description": "*True*, if the user is allowed to react to messages",
                        "type": "boolean"
                    },
                    "can_edit_tag": {
                        "description": "*True*, if the user is allowed to edit their own tag",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "*True*, if the user is allowed to change the chat title, photo and other settings",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "*True*, if the user is allowed to invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "*True*, if the user is allowed to pin messages",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "*True*, if the user is allowed to create forum topics",
                        "type": "boolean"
                    },
                    "is_member": {
                        "description": "*True*, if the user is a member of the chat at the moment of the request",
                        "type": "boolean"
                    }
                }
            },
            "ChatMemberLeft": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that isn't currently a member of the chat, but may join it themselves.",
                "required": [
                    "user",
                    "status"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"left\"",
                        "type": "string",
                        "const": "left"
                    }
                }
            },
            "ChatMemberBanned": {
                "type": "object",
                "description": "Represents a [chat member](https://core.telegram.org/bots/api#chatmember) that was banned in the chat and can't return to the chat or view chat messages.",
                "required": [
                    "user",
                    "status",
                    "until_date"
                ],
                "properties": {
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "status": {
                        "description": "The member's status in the chat, always \"kicked\"",
                        "type": "string",
                        "const": "kicked"
                    },
                    "until_date": {
                        "description": "Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever.",
                        "type": "integer"
                    }
                }
            },
            "User": {
                "type": "object",
                "description": "This object represents a Telegram user or bot.",
                "required": [
                    "id",
                    "is_bot",
                    "first_name"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this user or bot. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "is_bot": {
                        "description": "*True*, if this user is a bot",
                        "type": "boolean"
                    },
                    "first_name": {
                        "description": "User's or bot's first name",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "User's or bot's last name",
                        "type": "string"
                    },
                    "username": {
                        "description": "User's or bot's username",
                        "type": "string"
                    },
                    "language_code": {
                        "description": "[IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) of the user's language",
                        "type": "string"
                    },
                    "is_premium": {
                        "description": "*True*, if this user is a Telegram Premium user",
                        "type": "boolean",
                        "const": true
                    },
                    "added_to_attachment_menu": {
                        "description": "*True*, if this user added the bot to the attachment menu",
                        "type": "boolean",
                        "const": true
                    },
                    "can_join_groups": {
                        "description": "*True*, if the bot can be invited to groups. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "can_read_all_group_messages": {
                        "description": "*True*, if [privacy mode](https://core.telegram.org/bots/features#privacy-mode) is disabled for the bot. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "supports_inline_queries": {
                        "description": "*True*, if the bot supports inline queries. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "supports_guest_queries": {
                        "description": "*True*, if the bot supports guest queries from chats it is not a member of. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "can_connect_to_business": {
                        "description": "*True*, if the bot can be connected to a user account to manage it. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "has_main_web_app": {
                        "description": "*True*, if the bot has a main Web App. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "has_topics_enabled": {
                        "description": "*True*, if the bot has forum topic mode enabled in private chats. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "allows_users_to_create_topics": {
                        "description": "*True*, if the bot allows users to create and delete topics in private chats. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "can_manage_bots": {
                        "description": "*True*, if other bots can be created to be controlled by the bot. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    },
                    "supports_join_request_queries": {
                        "description": "*True*, if the bot supports join request queries and can be assigned to process them. Returned only in [getMe](https://core.telegram.org/bots/api#getme).",
                        "type": "boolean"
                    }
                }
            },
            "Community": {
                "type": "object",
                "description": "Represents a community (a group of chats).",
                "required": [
                    "id",
                    "name"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this community. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Name of the community",
                        "type": "string"
                    }
                }
            },
            "BusinessConnection": {
                "type": "object",
                "description": "Describes the connection of the bot with a business account.",
                "required": [
                    "id",
                    "user",
                    "user_chat_id",
                    "date",
                    "is_enabled"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "user": {
                        "description": "Business account user that created the business connection",
                        "$ref": "#/components/schemas/User"
                    },
                    "user_chat_id": {
                        "description": "Identifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "date": {
                        "description": "Date the connection was established in Unix time",
                        "type": "integer"
                    },
                    "is_enabled": {
                        "description": "*True*, if the connection is active",
                        "type": "boolean"
                    },
                    "rights": {
                        "description": "Rights of the business bot",
                        "$ref": "#/components/schemas/BusinessBotRights"
                    }
                }
            },
            "Chat": {
                "type": "object",
                "description": "This object represents a chat.",
                "required": [
                    "id",
                    "type"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "first_name": {
                        "description": "First name of the other party in a private chat",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Last name of the other party in a private chat",
                        "type": "string"
                    },
                    "username": {
                        "description": "Username, for private chats, supergroups and channels if available",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the chat, currently can be \"private\", \"group\", \"supergroup\", or \"channel\"",
                        "type": "string",
                        "enum": [
                            "private",
                            "group",
                            "supergroup",
                            "channel"
                        ]
                    },
                    "title": {
                        "description": "Title, for supergroups, channels and group chats",
                        "type": "string"
                    },
                    "is_forum": {
                        "description": "*True*, if the supergroup chat is a forum (has [topics](https://telegram.org/blog/topics-in-groups-collectible-usernames#topics-in-groups) enabled)",
                        "type": "boolean",
                        "const": true
                    },
                    "is_direct_messages": {
                        "description": "*True*, if the chat is the direct messages chat of a channel",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "ChatFullInfo": {
                "type": "object",
                "description": "This object contains full information about a chat.",
                "required": [
                    "id",
                    "type",
                    "accepted_gift_types",
                    "max_reaction_count",
                    "accent_color_id"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "first_name": {
                        "description": "First name of the other party in a private chat",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Last name of the other party in a private chat",
                        "type": "string"
                    },
                    "username": {
                        "description": "Username, for private chats, supergroups and channels if available",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the chat, currently can be \"private\", \"group\", \"supergroup\", or \"channel\"",
                        "type": "string",
                        "enum": [
                            "private",
                            "group",
                            "supergroup",
                            "channel"
                        ]
                    },
                    "title": {
                        "description": "Title, for supergroups, channels and group chats",
                        "type": "string"
                    },
                    "is_forum": {
                        "description": "*True*, if the supergroup chat is a forum (has [topics](https://telegram.org/blog/topics-in-groups-collectible-usernames#topics-in-groups) enabled)",
                        "type": "boolean",
                        "const": true
                    },
                    "is_direct_messages": {
                        "description": "*True*, if the chat is the direct messages chat of a channel",
                        "type": "boolean",
                        "const": true
                    },
                    "active_usernames": {
                        "description": "If non-empty, the list of all [active chat usernames](https://telegram.org/blog/topics-in-groups-collectible-usernames#collectible-usernames); for private chats, supergroups and channels",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "bio": {
                        "description": "Bio of the other party in a private chat",
                        "type": "string"
                    },
                    "has_private_forwards": {
                        "description": "*True*, if privacy settings of the other party in the private chat allows to use `tg://user?id=<user_id>` links only in chats with the user",
                        "type": "boolean",
                        "const": true
                    },
                    "has_restricted_voice_and_video_messages": {
                        "description": "*True*, if the privacy settings of the other party restrict sending voice and video note messages in the private chat",
                        "type": "boolean",
                        "const": true
                    },
                    "business_intro": {
                        "description": "For private chats with business accounts, the intro of the business",
                        "$ref": "#/components/schemas/BusinessIntro"
                    },
                    "business_location": {
                        "description": "For private chats with business accounts, the location of the business",
                        "$ref": "#/components/schemas/BusinessLocation"
                    },
                    "business_opening_hours": {
                        "description": "For private chats with business accounts, the opening hours of the business",
                        "$ref": "#/components/schemas/BusinessOpeningHours"
                    },
                    "accepted_gift_types": {
                        "description": "Information about types of gifts that are accepted by the chat or by the corresponding user for private chats",
                        "$ref": "#/components/schemas/AcceptedGiftTypesOutput"
                    },
                    "birthdate": {
                        "description": "For private chats, the date of birth of the user",
                        "$ref": "#/components/schemas/Birthdate"
                    },
                    "personal_chat": {
                        "description": "For private chats, the personal channel of the user",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "community": {
                        "description": "The [Community](https://core.telegram.org/bots/api#community) to which the chat belongs",
                        "$ref": "#/components/schemas/Community"
                    },
                    "rating": {
                        "description": "For private chats, the rating of the user if any",
                        "$ref": "#/components/schemas/UserRating"
                    },
                    "first_profile_audio": {
                        "description": "For private chats, the first audio added to the profile of the user",
                        "$ref": "#/components/schemas/Audio"
                    },
                    "paid_message_star_count": {
                        "description": "The number of Telegram Stars a general user has to pay to send a message to the chat",
                        "type": "integer"
                    },
                    "description": {
                        "description": "Description, for groups, supergroups and channel chats",
                        "type": "string"
                    },
                    "invite_link": {
                        "description": "Primary invite link, for groups, supergroups and channel chats",
                        "type": "string"
                    },
                    "permissions": {
                        "description": "Default chat member permissions, for groups and supergroups",
                        "$ref": "#/components/schemas/ChatPermissionsOutput"
                    },
                    "sticker_set_name": {
                        "description": "For supergroups, name of the group sticker set",
                        "type": "string"
                    },
                    "custom_emoji_sticker_set_name": {
                        "description": "For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group.",
                        "type": "string"
                    },
                    "can_set_sticker_set": {
                        "description": "*True*, if the bot can change the group sticker set",
                        "type": "boolean",
                        "const": true
                    },
                    "has_visible_history": {
                        "description": "*True*, if new chat members will have access to old messages; available only to chat administrators",
                        "type": "boolean",
                        "const": true
                    },
                    "join_to_send_messages": {
                        "description": "*True*, if users need to join the supergroup before they can send messages",
                        "type": "boolean",
                        "const": true
                    },
                    "join_by_request": {
                        "description": "*True*, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators",
                        "type": "boolean",
                        "const": true
                    },
                    "has_hidden_members": {
                        "description": "*True*, if non-administrators can only get the list of bots and administrators in the chat",
                        "type": "boolean",
                        "const": true
                    },
                    "has_aggressive_anti_spam_enabled": {
                        "description": "*True*, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators.",
                        "type": "boolean",
                        "const": true
                    },
                    "slow_mode_delay": {
                        "description": "For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds",
                        "type": "integer"
                    },
                    "unrestrict_boost_count": {
                        "description": "For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions",
                        "type": "integer"
                    },
                    "linked_chat_id": {
                        "description": "Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.",
                        "type": "integer"
                    },
                    "parent_chat": {
                        "description": "Information about the corresponding channel chat; for direct messages chats only",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "guard_bot": {
                        "description": "The bot that processes join request queries in the chat. The field is only available to chat administrators.",
                        "$ref": "#/components/schemas/User"
                    },
                    "location": {
                        "description": "For supergroups, the location to which the supergroup is connected",
                        "$ref": "#/components/schemas/ChatLocation"
                    },
                    "can_send_paid_media": {
                        "description": "*True*, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats.",
                        "type": "boolean",
                        "const": true
                    },
                    "photo": {
                        "description": "Chat photo",
                        "$ref": "#/components/schemas/ChatPhoto"
                    },
                    "pinned_message": {
                        "description": "The most recent pinned message (by sending date)",
                        "$ref": "#/components/schemas/Message"
                    },
                    "message_auto_delete_time": {
                        "description": "The time after which all messages sent to the chat will be automatically deleted; in seconds",
                        "type": "integer"
                    },
                    "emoji_status_custom_emoji_id": {
                        "description": "Custom emoji identifier of the emoji status of the chat or the other party in a private chat",
                        "type": "string"
                    },
                    "emoji_status_expiration_date": {
                        "description": "Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any",
                        "type": "integer"
                    },
                    "available_reactions": {
                        "description": "List of available reactions allowed in the chat. If omitted, then all [emoji reactions](https://core.telegram.org/bots/api#reactiontypeemoji) are allowed.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ReactionType"
                        }
                    },
                    "max_reaction_count": {
                        "description": "The maximum number of reactions that can be set on a message in the chat",
                        "type": "integer"
                    },
                    "accent_color_id": {
                        "description": "Identifier of the accent color for the chat name and backgrounds of the chat photo, reply header, and link preview. See [accent colors](https://core.telegram.org/bots/api#accent-colors) for more details.",
                        "type": "integer"
                    },
                    "background_custom_emoji_id": {
                        "description": "Custom emoji identifier of the emoji chosen by the chat for the reply header and link preview background",
                        "type": "string"
                    },
                    "unique_gift_colors": {
                        "description": "The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews",
                        "$ref": "#/components/schemas/UniqueGiftColors"
                    },
                    "profile_accent_color_id": {
                        "description": "Identifier of the accent color for the chat's profile background. See [profile accent colors](https://core.telegram.org/bots/api#profile-accent-colors) for more details.",
                        "type": "integer"
                    },
                    "profile_background_custom_emoji_id": {
                        "description": "Custom emoji identifier of the emoji chosen by the chat for its profile background",
                        "type": "string"
                    },
                    "has_protected_content": {
                        "description": "*True*, if messages from the chat can't be forwarded to other chats",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "PaidMedia": {
                "description": "This object describes paid media.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/PaidMediaPreview"
                    },
                    {
                        "$ref": "#/components/schemas/PaidMediaPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/PaidMediaVideo"
                    }
                ]
            },
            "PollMedia": {
                "type": "object",
                "description": "At most **one** of the optional fields can be present in any given object.",
                "properties": {
                    "animation": {
                        "description": "Media is an animation, information about the animation",
                        "$ref": "#/components/schemas/Animation"
                    },
                    "audio": {
                        "description": "Media is an audio file, information about the file; currently, can't be received in a poll option",
                        "$ref": "#/components/schemas/Audio"
                    },
                    "document": {
                        "description": "Media is a general file, information about the file; currently, can't be received in a poll option",
                        "$ref": "#/components/schemas/Document"
                    },
                    "link": {
                        "description": "The HTTP link attached to the poll option",
                        "$ref": "#/components/schemas/Link"
                    },
                    "location": {
                        "description": "Media is a shared location, information about the location",
                        "$ref": "#/components/schemas/LocationOutput"
                    },
                    "live_photo": {
                        "description": "Media is a live photo, information about the live photo",
                        "$ref": "#/components/schemas/LivePhoto"
                    },
                    "photo": {
                        "description": "Media is a photo, available sizes of the photo",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PhotoSize"
                        }
                    },
                    "sticker": {
                        "description": "Media is a sticker, information about the sticker; currently, for poll options only",
                        "$ref": "#/components/schemas/Sticker"
                    },
                    "venue": {
                        "description": "Media is a venue, information about the venue",
                        "$ref": "#/components/schemas/Venue"
                    },
                    "video": {
                        "description": "Media is a video, information about the video",
                        "$ref": "#/components/schemas/Video"
                    }
                }
            },
            "SuggestedPostPrice": {
                "type": "object",
                "description": "Describes the price of a suggested post.",
                "required": [
                    "currency",
                    "amount"
                ],
                "properties": {
                    "currency": {
                        "description": "Currency in which the post will be paid. Currently, must be one of \"XTR\" for Telegram Stars or \"TON\" for TON grams.",
                        "type": "string",
                        "enum": [
                            "XTR",
                            "TON"
                        ]
                    },
                    "amount": {
                        "description": "The amount of the currency that will be paid for the post in the *smallest units* of the currency, i.e. Telegram Stars or nanograms. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanograms must be between 10000000 and 10000000000000.",
                        "type": "integer"
                    }
                }
            },
            "RevenueWithdrawalState": {
                "description": "This object describes the state of a revenue withdrawal operation.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/RevenueWithdrawalStatePending"
                    },
                    {
                        "$ref": "#/components/schemas/RevenueWithdrawalStateSucceeded"
                    },
                    {
                        "$ref": "#/components/schemas/RevenueWithdrawalStateFailed"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "pending": "#/components/schemas/RevenueWithdrawalStatePending",
                        "succeeded": "#/components/schemas/RevenueWithdrawalStateSucceeded",
                        "failed": "#/components/schemas/RevenueWithdrawalStateFailed"
                    }
                }
            },
            "RichTextInput": {
                "description": "This object represents a rich formatted text.\n\nIt can also be a String for plain text, or an Array of [RichText](https://core.telegram.org/bots/api#richtext).",
                "oneOf": [
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBoldInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextItalicInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextUnderlineInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextStrikethroughInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSpoilerInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSubscriptInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSuperscriptInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMarkedInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextDateTimeInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMentionInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextHashtagInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCashtagInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBankCardNumberInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBotCommandInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCodeInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextTextMentionInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextUrlInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextEmailAddressInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextPhoneNumberInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCustomEmoji"
                    },
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMathematicalExpression"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextButtonInput"
                    },
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextReferenceInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextReferenceLinkInput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextAnchor"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextAnchorLinkInput"
                    },
                    {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichTextInput"
                        }
                    }
                ]
            },
            "RichTextOutput": {
                "description": "This object represents a rich formatted text.\n\nIt can also be a String for plain text, or an Array of [RichText](https://core.telegram.org/bots/api#richtext).",
                "oneOf": [
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBoldOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextItalicOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextUnderlineOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextStrikethroughOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSpoilerOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSubscriptOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextSuperscriptOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMarkedOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextDateTimeOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMentionOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextHashtagOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCashtagOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBankCardNumberOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextBotCommandOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCodeOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextTextMentionOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextUrlOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextEmailAddressOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextPhoneNumberOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextCustomEmoji"
                    },
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextMathematicalExpression"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextButtonOutput"
                    },
                    {
                        "type": "string"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextReferenceOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextReferenceLinkOutput"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextAnchor"
                    },
                    {
                        "$ref": "#/components/schemas/RichTextAnchorLinkOutput"
                    },
                    {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichTextOutput"
                        }
                    }
                ]
            },
            "RichBlock": {
                "description": "This object represents a block in a rich formatted message.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/RichBlockSectionHeading"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockParagraph"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockPreformatted"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockFooter"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockDivider"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockMathematicalExpression"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockAnchor"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockList"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockBlockQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockExpandableBlockQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockPullQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockAnimation"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockAudio"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockDocument"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockVideo"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockVoiceNote"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockCollage"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockSlideshow"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockTable"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockDetails"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockMap"
                    },
                    {
                        "$ref": "#/components/schemas/RichBlockButtons"
                    }
                ]
            },
            "ChatBoostSource": {
                "description": "This object describes the source of a chat boost.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/ChatBoostSourceGiftCode"
                    },
                    {
                        "$ref": "#/components/schemas/ChatBoostSourceGiveaway"
                    },
                    {
                        "$ref": "#/components/schemas/ChatBoostSourcePremium"
                    }
                ],
                "discriminator": {
                    "propertyName": "source",
                    "mapping": {
                        "gift_code": "#/components/schemas/ChatBoostSourceGiftCode",
                        "giveaway": "#/components/schemas/ChatBoostSourceGiveaway",
                        "premium": "#/components/schemas/ChatBoostSourcePremium"
                    }
                }
            },
            "ReactionType": {
                "description": "This object describes the type of a reaction.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/ReactionTypeEmoji"
                    },
                    {
                        "$ref": "#/components/schemas/ReactionTypeCustomEmoji"
                    },
                    {
                        "$ref": "#/components/schemas/ReactionTypePaid"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "emoji": "#/components/schemas/ReactionTypeEmoji",
                        "custom_emoji": "#/components/schemas/ReactionTypeCustomEmoji",
                        "paid": "#/components/schemas/ReactionTypePaid"
                    }
                }
            },
            "BackgroundFill": {
                "description": "This object describes the way a background is filled based on the selected colors.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/BackgroundFillSolid"
                    },
                    {
                        "$ref": "#/components/schemas/BackgroundFillGradient"
                    },
                    {
                        "$ref": "#/components/schemas/BackgroundFillFreeformGradient"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "solid": "#/components/schemas/BackgroundFillSolid",
                        "gradient": "#/components/schemas/BackgroundFillGradient",
                        "freeform_gradient": "#/components/schemas/BackgroundFillFreeformGradient"
                    }
                }
            },
            "TransactionPartner": {
                "description": "This object describes the source of a transaction, or its recipient for outgoing transactions.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/TransactionPartnerUser"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerChat"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerAffiliateProgram"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerFragment"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerTelegramAds"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerTelegramApi"
                    },
                    {
                        "$ref": "#/components/schemas/TransactionPartnerOther"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "user": "#/components/schemas/TransactionPartnerUser",
                        "chat": "#/components/schemas/TransactionPartnerChat",
                        "affiliate_program": "#/components/schemas/TransactionPartnerAffiliateProgram",
                        "fragment": "#/components/schemas/TransactionPartnerFragment",
                        "telegram_ads": "#/components/schemas/TransactionPartnerTelegramAds",
                        "telegram_api": "#/components/schemas/TransactionPartnerTelegramApi",
                        "other": "#/components/schemas/TransactionPartnerOther"
                    }
                }
            },
            "TransactionPartnerUser": {
                "type": "object",
                "description": "Describes a transaction with a user.",
                "required": [
                    "transaction_type",
                    "type",
                    "user"
                ],
                "properties": {
                    "transaction_type": {
                        "description": "Type of the transaction, currently one of \"invoice_payment\" for payments via invoices, \"paid_media_payment\" for payments for paid media, \"gift_purchase\" for gifts sent by the bot, \"premium_purchase\" for Telegram Premium subscriptions gifted by the bot, \"business_account_transfer\" for direct transfers from managed business accounts",
                        "type": "string",
                        "enum": [
                            "paid_media_payment",
                            "invoice_payment",
                            "gift_purchase",
                            "premium_purchase",
                            "business_account_transfer"
                        ]
                    },
                    "type": {
                        "description": "Type of the transaction partner, always \"user\"",
                        "type": "string",
                        "const": "user"
                    },
                    "user": {
                        "description": "Information about the user",
                        "$ref": "#/components/schemas/User"
                    },
                    "paid_media": {
                        "description": "Information about the paid media bought by the user; for \"paid_media_payment\" transactions only",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PaidMedia"
                        }
                    },
                    "paid_media_payload": {
                        "description": "Bot-specified paid media payload. Can be available only for \"paid_media_payment\" transactions.",
                        "type": "string"
                    },
                    "affiliate": {
                        "description": "Information about the affiliate that received a commission via this transaction. Can be available only for \"invoice_payment\" and \"paid_media_payment\" transactions.",
                        "$ref": "#/components/schemas/AffiliateInfo"
                    },
                    "invoice_payload": {
                        "description": "Bot-specified invoice payload. Can be available only for \"invoice_payment\" transactions.",
                        "type": "string"
                    },
                    "subscription_period": {
                        "description": "The duration of the paid subscription. Can be available only for \"invoice_payment\" transactions.",
                        "type": "integer"
                    },
                    "gift": {
                        "description": "The gift sent by the bot; for \"gift_purchase\" transactions only",
                        "$ref": "#/components/schemas/Gift"
                    },
                    "premium_subscription_duration": {
                        "description": "Number of months the gifted Telegram Premium subscription will be active for; for \"premium_purchase\" transactions only",
                        "type": "integer"
                    }
                }
            },
            "TransactionPartnerChat": {
                "type": "object",
                "description": "Describes a transaction with a chat.",
                "required": [
                    "type",
                    "chat",
                    "gift"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"chat\"",
                        "type": "string",
                        "const": "chat"
                    },
                    "chat": {
                        "description": "Information about the chat",
                        "$ref": "#/components/schemas/Chat"
                    },
                    "gift": {
                        "description": "The gift sent by the bot; for \"gift_purchase\" transactions only",
                        "$ref": "#/components/schemas/Gift"
                    }
                }
            },
            "TransactionPartnerAffiliateProgram": {
                "type": "object",
                "description": "Describes the affiliate program that issued the affiliate commission received via this transaction.",
                "required": [
                    "type",
                    "commission_per_mille"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"affiliate_program\"",
                        "type": "string",
                        "const": "affiliate_program"
                    },
                    "sponsor_user": {
                        "description": "Information about the bot that sponsored the affiliate program",
                        "$ref": "#/components/schemas/User"
                    },
                    "commission_per_mille": {
                        "description": "The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users",
                        "type": "integer"
                    }
                }
            },
            "TransactionPartnerFragment": {
                "type": "object",
                "description": "Describes a withdrawal transaction with Fragment.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"fragment\"",
                        "type": "string",
                        "const": "fragment"
                    },
                    "withdrawal_state": {
                        "description": "State of the transaction if the transaction is outgoing",
                        "$ref": "#/components/schemas/RevenueWithdrawalState"
                    }
                }
            },
            "TransactionPartnerTelegramAds": {
                "type": "object",
                "description": "Describes a withdrawal transaction to the Telegram Ads platform.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"telegram_ads\"",
                        "type": "string",
                        "const": "telegram_ads"
                    }
                }
            },
            "TransactionPartnerTelegramApi": {
                "type": "object",
                "description": "Describes a transaction with payment for [paid broadcasting](https://core.telegram.org/bots/api#paid-broadcasts).",
                "required": [
                    "type",
                    "request_count"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"telegram_api\"",
                        "type": "string",
                        "const": "telegram_api"
                    },
                    "request_count": {
                        "description": "The number of successful requests that exceeded regular limits and were therefore billed",
                        "type": "integer"
                    }
                }
            },
            "TransactionPartnerOther": {
                "type": "object",
                "description": "Describes a transaction with an unknown source or recipient.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the transaction partner, always \"other\"",
                        "type": "string",
                        "const": "other"
                    }
                }
            },
            "MaybeInaccessibleMessage": {
                "description": "This object describes a message that can be inaccessible to the bot.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/Message"
                    },
                    {
                        "$ref": "#/components/schemas/InaccessibleMessage"
                    }
                ]
            },
            "CommunityChatRemoved": {
                "type": "object",
                "description": "Describes a service message about a chat or a bot being removed from a community. Currently holds no information."
            },
            "ForumTopicClosed": {
                "type": "object",
                "description": "This object represents a service message about a forum topic closed in the chat. Currently holds no information."
            },
            "ForumTopicReopened": {
                "type": "object",
                "description": "This object represents a service message about a forum topic reopened in the chat. Currently holds no information."
            },
            "GeneralForumTopicHidden": {
                "type": "object",
                "description": "This object represents a service message about General forum topic hidden in the chat. Currently holds no information."
            },
            "GeneralForumTopicUnhidden": {
                "type": "object",
                "description": "This object represents a service message about General forum topic unhidden in the chat. Currently holds no information."
            },
            "VideoChatStarted": {
                "type": "object",
                "description": "This object represents a service message about a video chat started in the chat. Currently holds no information."
            },
            "Update": {
                "type": "object",
                "description": "This [object](https://core.telegram.org/bots/api#available-types) represents an incoming update.\nAt most **one** of the optional fields can be present in any given update.",
                "required": [
                    "update_id"
                ],
                "properties": {
                    "update_id": {
                        "description": "The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This identifier becomes especially handy if you're using [webhooks](https://core.telegram.org/bots/api#setwebhook), since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.",
                        "type": "integer"
                    },
                    "message": {
                        "description": "New incoming message of any kind - text, photo, sticker, etc.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "edited_message": {
                        "description": "New version of a message that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "channel_post": {
                        "description": "New incoming channel post of any kind - text, photo, sticker, etc.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "edited_channel_post": {
                        "description": "New version of a channel post that is known to the bot and was edited. This update may at times be triggered by changes to message fields that are either unavailable or not actively used by your bot.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "inline_query": {
                        "description": "New incoming [inline](https://core.telegram.org/bots/api#inline-mode) query",
                        "$ref": "#/components/schemas/InlineQuery"
                    },
                    "chosen_inline_result": {
                        "description": "The result of an [inline](https://core.telegram.org/bots/api#inline-mode) query that was chosen by a user and sent to their chat partner. Please see our documentation on the [feedback collecting](https://core.telegram.org/bots/inline#collecting-feedback) for details on how to enable these updates for your bot.",
                        "$ref": "#/components/schemas/ChosenInlineResult"
                    },
                    "callback_query": {
                        "description": "New incoming callback query",
                        "$ref": "#/components/schemas/CallbackQuery"
                    },
                    "shipping_query": {
                        "description": "New incoming shipping query. Only for invoices with flexible price.",
                        "$ref": "#/components/schemas/ShippingQuery"
                    },
                    "pre_checkout_query": {
                        "description": "New incoming pre-checkout query. Contains full information about checkout.",
                        "$ref": "#/components/schemas/PreCheckoutQuery"
                    },
                    "poll": {
                        "description": "New poll state. Bots receive only updates about manually stopped polls and polls, which are sent by the bot.",
                        "$ref": "#/components/schemas/Poll"
                    },
                    "poll_answer": {
                        "description": "A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.",
                        "$ref": "#/components/schemas/PollAnswer"
                    },
                    "my_chat_member": {
                        "description": "The bot's chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user.",
                        "$ref": "#/components/schemas/ChatMemberUpdated"
                    },
                    "chat_member": {
                        "description": "A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify `\"chat_member\"` in the list of *allowed_updates* to receive these updates.",
                        "$ref": "#/components/schemas/ChatMemberUpdated"
                    },
                    "chat_join_request": {
                        "description": "A request to join the chat has been sent. The bot must have the *can_invite_users* administrator right in the chat to receive these updates.",
                        "$ref": "#/components/schemas/ChatJoinRequest"
                    },
                    "chat_boost": {
                        "description": "A chat boost was added or changed. The bot must be an administrator in the chat to receive these updates.",
                        "$ref": "#/components/schemas/ChatBoostUpdated"
                    },
                    "removed_chat_boost": {
                        "description": "A boost was removed from a chat. The bot must be an administrator in the chat to receive these updates.",
                        "$ref": "#/components/schemas/ChatBoostRemoved"
                    },
                    "message_reaction": {
                        "description": "A reaction to a message was changed by a user. The bot must be an administrator in the chat and must explicitly specify `\"message_reaction\"` in the list of *allowed_updates* to receive these updates. The update isn't received for reactions set by bots.",
                        "$ref": "#/components/schemas/MessageReactionUpdated"
                    },
                    "message_reaction_count": {
                        "description": "Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify `\"message_reaction_count\"` in the list of *allowed_updates* to receive these updates. The updates are grouped and can be sent with delay up to a few minutes.",
                        "$ref": "#/components/schemas/MessageReactionCountUpdated"
                    },
                    "business_connection": {
                        "description": "The bot was connected to or disconnected from a business account, or a user edited an existing connection with the bot",
                        "$ref": "#/components/schemas/BusinessConnection"
                    },
                    "business_message": {
                        "description": "New message from a connected business account",
                        "$ref": "#/components/schemas/Message"
                    },
                    "edited_business_message": {
                        "description": "New version of a message from a connected business account",
                        "$ref": "#/components/schemas/Message"
                    },
                    "deleted_business_messages": {
                        "description": "Messages were deleted from a connected business account",
                        "$ref": "#/components/schemas/BusinessMessagesDeleted"
                    },
                    "purchased_paid_media": {
                        "description": "A user purchased paid media with a non-empty payload sent by the bot in a non-channel chat",
                        "$ref": "#/components/schemas/PaidMediaPurchased"
                    },
                    "managed_bot": {
                        "description": "A new bot was created to be managed by the bot, or token or owner of a managed bot was changed",
                        "$ref": "#/components/schemas/ManagedBotUpdated"
                    },
                    "guest_message": {
                        "description": "New guest message. The bot can use the field *Message.guest_query_id* and the method [answerGuestQuery](https://core.telegram.org/bots/api#answerguestquery) to send a message in response.",
                        "$ref": "#/components/schemas/Message"
                    },
                    "subscription": {
                        "description": "User payment subscription has changed",
                        "$ref": "#/components/schemas/BotSubscriptionUpdated"
                    },
                    "stopped_message_generation": {
                        "description": "A user asked the bot to stop the generation of a message",
                        "$ref": "#/components/schemas/MessageGenerationStopped"
                    }
                }
            },
            "InlineQueryResultsButton": {
                "type": "object",
                "description": "This object represents a button to be shown above inline query results. You **must** use exactly one of the optional fields.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Label text on the button",
                        "type": "string"
                    },
                    "start_parameter": {
                        "description": "[Deep-linking](https://core.telegram.org/bots/features#deep-linking) parameter for the /start message sent to the bot when a user presses the button. 1-64 characters, only `A-Z`, `a-z`, `0-9`, `_` and `-` are allowed.\n\n*Example:* An inline bot that sends YouTube videos can ask the user to connect the bot to their YouTube account to adapt search results accordingly. To do this, it displays a 'Connect your YouTube account' button above the results, or even before showing any. The user presses the button, switches to a private chat with the bot and, in doing so, passes a start parameter that instructs the bot to return an OAuth link. Once done, the bot can offer a [*switch_inline*](https://core.telegram.org/bots/api#inlinekeyboardmarkup) button so that the user can easily return to the chat where they wanted to use the bot's inline capabilities.",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the [Web App](https://core.telegram.org/bots/webapps) that will be launched when the user presses the button. The Web App will be able to switch back to the inline mode using the method [switchInlineQuery](https://core.telegram.org/bots/webapps#initializing-mini-apps) inside the Web App.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    }
                }
            },
            "InlineQueryResultArticle": {
                "type": "object",
                "description": "Represents a link to an article or web page.",
                "required": [
                    "type",
                    "id",
                    "input_message_content",
                    "title"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *article*",
                        "type": "string",
                        "const": "article"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 Bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "Url of the thumbnail for the result",
                        "type": "string"
                    },
                    "thumbnail_width": {
                        "description": "Thumbnail width",
                        "type": "integer"
                    },
                    "thumbnail_height": {
                        "description": "Thumbnail height",
                        "type": "integer"
                    },
                    "url": {
                        "description": "URL of the result",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title of the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultAudio": {
                "type": "object",
                "description": "Represents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the audio.",
                "required": [
                    "type",
                    "id",
                    "audio_url",
                    "title"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *audio*",
                        "type": "string",
                        "const": "audio"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the audio",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "audio_url": {
                        "description": "A valid URL for the audio file",
                        "type": "string"
                    },
                    "audio_duration": {
                        "description": "Audio duration in seconds",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Title",
                        "type": "string"
                    },
                    "performer": {
                        "description": "Performer",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultCachedAudio": {
                "type": "object",
                "description": "Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the audio.",
                "required": [
                    "type",
                    "id",
                    "audio_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *audio*",
                        "type": "string",
                        "const": "audio"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the audio",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "audio_file_id": {
                        "description": "A valid file identifier for the audio file",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultContact": {
                "type": "object",
                "description": "Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the contact.",
                "required": [
                    "type",
                    "id",
                    "phone_number",
                    "first_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *contact*",
                        "type": "string",
                        "const": "contact"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 Bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the contact",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "Url of the thumbnail for the result",
                        "type": "string"
                    },
                    "thumbnail_width": {
                        "description": "Thumbnail width",
                        "type": "integer"
                    },
                    "thumbnail_height": {
                        "description": "Thumbnail height",
                        "type": "integer"
                    },
                    "phone_number": {
                        "description": "Contact's phone number",
                        "type": "string"
                    },
                    "first_name": {
                        "description": "Contact's first name",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Contact's last name",
                        "type": "string"
                    },
                    "vcard": {
                        "description": "Additional data about the contact in the form of a [vCard](https://en.wikipedia.org/wiki/VCard), 0-2048 bytes",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultDocument": {
                "type": "object",
                "description": "Represents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the file. Currently, only **.PDF** and **.ZIP** files can be sent using this method.",
                "required": [
                    "type",
                    "id",
                    "title",
                    "document_url",
                    "mime_type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *document*",
                        "type": "string",
                        "const": "document"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the file",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the document to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "URL of the thumbnail (JPEG only) for the file",
                        "type": "string"
                    },
                    "thumbnail_width": {
                        "description": "Thumbnail width",
                        "type": "integer"
                    },
                    "thumbnail_height": {
                        "description": "Thumbnail height",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "document_url": {
                        "description": "A valid URL for the file",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the content of the file, either \"application/pdf\" or \"application/zip\"",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultCachedDocument": {
                "type": "object",
                "description": "Represents a link to a file stored on the Telegram servers. By default, this file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the file.",
                "required": [
                    "type",
                    "id",
                    "title",
                    "document_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *document*",
                        "type": "string",
                        "const": "document"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the file",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the document to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "document_file_id": {
                        "description": "A valid file identifier for the file",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultGame": {
                "type": "object",
                "description": "Represents a [Game](https://core.telegram.org/bots/api#game).",
                "required": [
                    "type",
                    "id",
                    "game_short_name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *game*",
                        "type": "string",
                        "const": "game"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "game_short_name": {
                        "description": "Short name of the game",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultGif": {
                "type": "object",
                "description": "Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the animation.",
                "required": [
                    "type",
                    "id",
                    "thumbnail_url",
                    "gif_url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *gif*",
                        "type": "string",
                        "const": "gif"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the GIF animation",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the GIF file to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "gif_url": {
                        "description": "A valid URL for the GIF file",
                        "type": "string"
                    },
                    "thumbnail_mime_type": {
                        "description": "MIME type of the thumbnail, must be one of \"image/jpeg\", \"image/gif\", or \"video/mp4\". Defaults to \"image/jpeg\".",
                        "type": "string"
                    },
                    "gif_duration": {
                        "description": "Duration of the GIF in seconds",
                        "type": "integer"
                    },
                    "gif_width": {
                        "description": "Width of the GIF",
                        "type": "integer"
                    },
                    "gif_height": {
                        "description": "Height of the GIF",
                        "type": "integer"
                    }
                }
            },
            "InlineQueryResultCachedGif": {
                "type": "object",
                "description": "Represents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with specified content instead of the animation.",
                "required": [
                    "type",
                    "id",
                    "gif_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *gif*",
                        "type": "string",
                        "const": "gif"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the GIF animation",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the GIF file to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "gif_file_id": {
                        "description": "A valid file identifier for the GIF file",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultLocation": {
                "type": "object",
                "description": "Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the location.",
                "required": [
                    "type",
                    "id",
                    "latitude",
                    "longitude",
                    "title"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *location*",
                        "type": "string",
                        "const": "location"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 Bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the location",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "Url of the thumbnail for the result",
                        "type": "string"
                    },
                    "thumbnail_width": {
                        "description": "Thumbnail width",
                        "type": "integer"
                    },
                    "thumbnail_height": {
                        "description": "Thumbnail height",
                        "type": "integer"
                    },
                    "latitude": {
                        "description": "Location latitude in degrees",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Location longitude in degrees",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters; 0-1500",
                        "type": "number"
                    },
                    "live_period": {
                        "description": "Period in seconds during which the location can be updated, must be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely",
                        "type": "integer"
                    },
                    "heading": {
                        "description": "For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.",
                        "type": "integer"
                    },
                    "proximity_alert_radius": {
                        "description": "For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Location title",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultMpeg4Gif": {
                "type": "object",
                "description": "Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the animation.",
                "required": [
                    "type",
                    "id",
                    "thumbnail_url",
                    "mpeg4_url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *mpeg4_gif*",
                        "type": "string",
                        "const": "mpeg4_gif"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the video animation",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "mpeg4_url": {
                        "description": "A valid URL for the MPEG4 file",
                        "type": "string"
                    },
                    "thumbnail_mime_type": {
                        "description": "MIME type of the thumbnail, must be one of \"image/jpeg\", \"image/gif\", or \"video/mp4\". Defaults to \"image/jpeg\".",
                        "type": "string"
                    },
                    "mpeg4_duration": {
                        "description": "Video duration in seconds",
                        "type": "integer"
                    },
                    "mpeg4_width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "mpeg4_height": {
                        "description": "Video height",
                        "type": "integer"
                    }
                }
            },
            "InlineQueryResultCachedMpeg4Gif": {
                "type": "object",
                "description": "Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the animation.",
                "required": [
                    "type",
                    "id",
                    "mpeg4_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *mpeg4_gif*",
                        "type": "string",
                        "const": "mpeg4_gif"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the video animation",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the MPEG-4 file to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "mpeg4_file_id": {
                        "description": "A valid file identifier for the MPEG4 file",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultPhoto": {
                "type": "object",
                "description": "Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the photo.",
                "required": [
                    "type",
                    "id",
                    "thumbnail_url",
                    "photo_url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the photo",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the photo to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "URL of the thumbnail for the photo",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "photo_url": {
                        "description": "A valid URL of the photo. Photo must be in **JPEG** format. Photo size must not exceed 5MB.",
                        "type": "string"
                    },
                    "photo_width": {
                        "description": "Width of the photo",
                        "type": "integer"
                    },
                    "photo_height": {
                        "description": "Height of the photo",
                        "type": "integer"
                    }
                }
            },
            "InlineQueryResultCachedPhoto": {
                "type": "object",
                "description": "Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the photo.",
                "required": [
                    "type",
                    "id",
                    "photo_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the photo",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the photo to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "photo_file_id": {
                        "description": "A valid file identifier of the photo",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultCachedSticker": {
                "type": "object",
                "description": "Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the sticker.",
                "required": [
                    "type",
                    "id",
                    "sticker_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *sticker*",
                        "type": "string",
                        "const": "sticker"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the sticker",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "sticker_file_id": {
                        "description": "A valid file identifier of the sticker",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultVenue": {
                "type": "object",
                "description": "Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the venue.",
                "required": [
                    "type",
                    "id",
                    "latitude",
                    "longitude",
                    "title",
                    "address"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *venue*",
                        "type": "string",
                        "const": "venue"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 Bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the venue",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "Url of the thumbnail for the result",
                        "type": "string"
                    },
                    "thumbnail_width": {
                        "description": "Thumbnail width",
                        "type": "integer"
                    },
                    "thumbnail_height": {
                        "description": "Thumbnail height",
                        "type": "integer"
                    },
                    "latitude": {
                        "description": "Latitude of the venue location in degrees",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the venue location in degrees",
                        "type": "number"
                    },
                    "title": {
                        "description": "Title of the venue",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address of the venue",
                        "type": "string"
                    },
                    "foursquare_id": {
                        "description": "Foursquare identifier of the venue if known",
                        "type": "string"
                    },
                    "foursquare_type": {
                        "description": "Foursquare type of the venue, if known. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".)",
                        "type": "string"
                    },
                    "google_place_id": {
                        "description": "Google Places identifier of the venue",
                        "type": "string"
                    },
                    "google_place_type": {
                        "description": "Google Places type of the venue. (See [supported types](https://developers.google.com/places/web-service/supported_types).)",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultVideo": {
                "type": "object",
                "description": "Represents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the video.\n\n> If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you **must** replace its content using *input_message_content*.",
                "required": [
                    "type",
                    "id",
                    "thumbnail_url",
                    "title",
                    "video_url",
                    "mime_type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the video. This field is **required** if InlineQueryResultVideo is used to send an HTML-page as a result (e.g., a YouTube video).",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the video to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "thumbnail_url": {
                        "description": "URL of the thumbnail (JPEG only) for the video",
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "video_url": {
                        "description": "A valid URL for the embedded video player or video file",
                        "type": "string"
                    },
                    "mime_type": {
                        "description": "MIME type of the content of the video URL, \"text/html\" or \"video/mp4\"",
                        "type": "string"
                    },
                    "video_width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "video_height": {
                        "description": "Video height",
                        "type": "integer"
                    },
                    "video_duration": {
                        "description": "Video duration in seconds",
                        "type": "integer"
                    }
                }
            },
            "InlineQueryResultCachedVideo": {
                "type": "object",
                "description": "Represents a link to a video file stored on the Telegram servers. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the video.",
                "required": [
                    "type",
                    "id",
                    "title",
                    "video_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the video",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption of the video to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Title for the result",
                        "type": "string"
                    },
                    "description": {
                        "description": "Short description of the result",
                        "type": "string"
                    },
                    "video_file_id": {
                        "description": "A valid file identifier for the video file",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResultVoice": {
                "type": "object",
                "description": "Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the the voice message.",
                "required": [
                    "type",
                    "id",
                    "title",
                    "voice_url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *voice*",
                        "type": "string",
                        "const": "voice"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the voice recording",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Recording title",
                        "type": "string"
                    },
                    "voice_url": {
                        "description": "A valid URL for the voice recording",
                        "type": "string"
                    },
                    "voice_duration": {
                        "description": "Recording duration in seconds",
                        "type": "integer"
                    }
                }
            },
            "InlineQueryResultCachedVoice": {
                "type": "object",
                "description": "Represents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use *input_message_content* to send a message with the specified content instead of the voice message.",
                "required": [
                    "type",
                    "id",
                    "title",
                    "voice_file_id"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the result, must be *voice*",
                        "type": "string",
                        "const": "voice"
                    },
                    "id": {
                        "description": "Unique identifier for this result, 1-64 bytes",
                        "type": "string"
                    },
                    "input_message_content": {
                        "description": "Content of the message to be sent instead of the voice message",
                        "$ref": "#/components/schemas/InputMessageContent"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Caption, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "[Inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) attached to the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "title": {
                        "description": "Voice message title",
                        "type": "string"
                    },
                    "voice_file_id": {
                        "description": "A valid file identifier for the voice message",
                        "type": "string"
                    }
                }
            },
            "InlineQueryResult": {
                "description": "This object represents one result of an inline query.\n\n**Note:** All URLs passed in inline query results will be available to end users and therefore must be assumed to be **public**.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InlineQueryResultArticle"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultAudio"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedAudio"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultContact"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultDocument"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedDocument"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultGame"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultGif"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedGif"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultLocation"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultMpeg4Gif"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedMpeg4Gif"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedSticker"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultVenue"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultVoice"
                    },
                    {
                        "$ref": "#/components/schemas/InlineQueryResultCachedVoice"
                    }
                ]
            },
            "KeyboardButtonPollType": {
                "type": "object",
                "description": "This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.",
                "properties": {
                    "type": {
                        "description": "If *quiz* is passed, the user will be allowed to create only polls in the quiz mode. If *regular* is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type.",
                        "type": "string"
                    }
                }
            },
            "KeyboardButtonRequestUsers": {
                "type": "object",
                "description": "This object defines the criteria used to request suitable users. Information about the selected users will be shared with the bot when the corresponding button is pressed. [More about requesting users »](https://core.telegram.org/bots/features#chat-and-user-selection)",
                "required": [
                    "request_id"
                ],
                "properties": {
                    "request_id": {
                        "description": "Signed 32-bit identifier of the request that will be received back in the [UsersShared](https://core.telegram.org/bots/api#usersshared) object. Must be unique within the message.",
                        "type": "integer"
                    },
                    "user_is_bot": {
                        "description": "Pass *True* to request bots, pass *False* to request regular users. If not specified, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "user_is_premium": {
                        "description": "Pass *True* to request premium users, pass *False* to request non-premium users. If not specified, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "max_quantity": {
                        "description": "The maximum number of users to be selected; 1-10. Defaults to 1.",
                        "type": "integer",
                        "default": 1
                    },
                    "request_name": {
                        "description": "Pass *True* to request the users' first and last names",
                        "type": "boolean"
                    },
                    "request_username": {
                        "description": "Pass *True* to request the users' usernames",
                        "type": "boolean"
                    },
                    "request_photo": {
                        "description": "Pass *True* to request the users' photos",
                        "type": "boolean"
                    }
                }
            },
            "KeyboardButtonRequestChat": {
                "type": "object",
                "description": "This object defines the criteria used to request a suitable chat. Information about the selected chat will be shared with the bot when the corresponding button is pressed. The bot will be granted requested rights in the chat if appropriate. [More about requesting chats »](https://core.telegram.org/bots/features#chat-and-user-selection).",
                "required": [
                    "request_id"
                ],
                "properties": {
                    "request_id": {
                        "description": "Signed 32-bit identifier of the request, which will be received back in the [ChatShared](https://core.telegram.org/bots/api#chatshared) object. Must be unique within the message.",
                        "type": "integer"
                    },
                    "chat_is_channel": {
                        "description": "Pass *True* to request a channel chat, pass *False* to request a group or a supergroup chat, defaults to *False*",
                        "type": "boolean",
                        "default": false
                    },
                    "chat_is_forum": {
                        "description": "Pass *True* to request a forum supergroup, pass *False* to request a non-forum chat. If not specified, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "chat_has_username": {
                        "description": "Pass *True* to request a supergroup or a channel with a username, pass *False* to request a chat without a username. If not specified, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "chat_is_created": {
                        "description": "Pass *True* to request a chat owned by the user. Otherwise, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "user_administrator_rights": {
                        "description": "A JSON-serialized object listing the required administrator rights of the user in the chat. The rights must be a superset of *bot_administrator_rights*. If not specified, no additional restrictions are applied.",
                        "$ref": "#/components/schemas/ChatAdministratorRightsInput"
                    },
                    "bot_administrator_rights": {
                        "description": "A JSON-serialized object listing the required administrator rights of the bot in the chat. The rights must be a subset of *user_administrator_rights*. If not specified, no additional restrictions are applied.",
                        "$ref": "#/components/schemas/ChatAdministratorRightsInput"
                    },
                    "bot_is_member": {
                        "description": "Pass *True* to request a chat with the bot as a member. Otherwise, no additional restrictions are applied.",
                        "type": "boolean"
                    },
                    "request_title": {
                        "description": "Pass *True* to request the chat's title",
                        "type": "boolean"
                    },
                    "request_username": {
                        "description": "Pass *True* to request the chat's username",
                        "type": "boolean"
                    },
                    "request_photo": {
                        "description": "Pass *True* to request the chat's photo",
                        "type": "boolean"
                    }
                }
            },
            "KeyboardButtonRequestManagedBot": {
                "type": "object",
                "description": "This object defines the parameters for the creation of a managed bot. Information about the created bot will be shared with the bot using the update *managed_bot* and a [Message](https://core.telegram.org/bots/api#message) with the field *managed_bot_created*.",
                "required": [
                    "request_id"
                ],
                "properties": {
                    "request_id": {
                        "description": "Signed 32-bit identifier of the request. Must be unique within the message.",
                        "type": "integer"
                    },
                    "suggested_name": {
                        "description": "Suggested name for the bot",
                        "type": "string"
                    },
                    "suggested_username": {
                        "description": "Suggested username for the bot",
                        "type": "string"
                    }
                }
            },
            "KeyboardButton": {
                "type": "object",
                "description": "This object represents one button of the reply keyboard. At most one of the fields other than *text*, *icon_custom_emoji_id*, and *style* must be used to specify the type of the button. For simple text buttons, *String* can be used instead of this object to specify the button text.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Text of the button. If none of the fields other than *text*, *icon_custom_emoji_id*, and *style* are used, it will be sent as a message when the button is pressed.",
                        "type": "string"
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown before the text of the button. Can only be used by bots that purchased additional usernames on [Fragment](https://fragment.com) or in the messages directly sent by the bot to private, group and supergroup chats if the owner of the bot has a Telegram Premium subscription.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "style": {
                        "description": "Style of the button. Must be one of \"danger\" (red), \"success\" (green) or \"primary\" (blue). If omitted, then an app-specific style is used.",
                        "type": "string"
                    },
                    "request_contact": {
                        "description": "If *True*, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only.",
                        "type": "boolean"
                    },
                    "request_location": {
                        "description": "If *True*, the user's current location will be sent when the button is pressed. Available in private chats only.",
                        "type": "boolean"
                    },
                    "request_poll": {
                        "description": "If specified, the user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only.",
                        "$ref": "#/components/schemas/KeyboardButtonPollType"
                    },
                    "web_app": {
                        "description": "If specified, the described [Web App](https://core.telegram.org/bots/webapps) will be launched when the button is pressed. The Web App will be able to send a \"web_app_data\" service message. Available in private chats only.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    },
                    "request_users": {
                        "description": "If specified, pressing the button will open a list of suitable users. Identifiers of selected users will be sent to the bot in a \"users_shared\" service message. Available in private chats only.",
                        "$ref": "#/components/schemas/KeyboardButtonRequestUsers"
                    },
                    "request_chat": {
                        "description": "If specified, pressing the button will open a list of suitable chats. Tapping on a chat will send its identifier to the bot in a \"chat_shared\" service message. Available in private chats only.",
                        "$ref": "#/components/schemas/KeyboardButtonRequestChat"
                    },
                    "request_managed_bot": {
                        "description": "If specified, pressing the button will ask the user to create and share a bot that will be managed by the current bot. Available for bots that enabled management of other bots in the [@BotFather](https://t.me/BotFather) Mini App. Available in private chats only.",
                        "$ref": "#/components/schemas/KeyboardButtonRequestManagedBot"
                    }
                }
            },
            "LoginUrl": {
                "type": "object",
                "description": "This object represents a parameter of the inline keyboard button used to automatically authorize a user. It serves as a great replacement for the [Telegram Login Widget](https://core.telegram.org/widgets/login) when the user is coming from Telegram. All the user needs to do is tap/click a button and confirm that they want to log in:\n\n<div class=\"blog_image_wrap\">\n  <a href=\"/file/811140015/1734/8VZFkwWXalM.97872/6127fa62d8a0bf2b3c\" target=\"_blank\"><img src=\"/file/811140909/1631/20k1Z53eiyY.23995/c541e89b74253623d9\" title=\"TITLE\" alt=\"TITLE\" srcset=\"/file/811140015/1734/8VZFkwWXalM.97872/6127fa62d8a0bf2b3c , 2x\" /></a>\n</div>\n\n> Sample bot: [@DiscussBot](https://t.me/discussbot)",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "description": "An HTTPS URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in [Receiving authorization data](https://core.telegram.org/widgets/login#receiving-authorization-data).\n\n**NOTE:** You **must** always check the hash of the received data to verify the authentication and the integrity of the data as described in [Checking authorization](https://core.telegram.org/widgets/login#checking-authorization).",
                        "type": "string"
                    },
                    "bot_username": {
                        "description": "Username of a bot, which will be used for user authorization; not supported in [RichMessageButton](https://core.telegram.org/bots/api#richmessagebutton). See [Setting up a bot](https://core.telegram.org/widgets/login#setting-up-a-bot) for more details. If not specified, the current bot's username will be assumed. The *url*'s domain must be the same as the domain linked with the bot. See [Linking your domain to the bot](https://core.telegram.org/widgets/login#linking-your-domain-to-the-bot) for more details.",
                        "type": "string"
                    },
                    "request_write_access": {
                        "description": "Pass *True* to request the permission for your bot to send messages to the user",
                        "type": "boolean"
                    },
                    "forward_text": {
                        "description": "New text of the button in forwarded messages",
                        "type": "string"
                    }
                }
            },
            "InputSticker": {
                "type": "object",
                "description": "This object describes a sticker to be added to a sticker set.",
                "required": [
                    "sticker",
                    "format",
                    "emoji_list"
                ],
                "properties": {
                    "sticker": {
                        "description": "The added sticker. Pass a *file_id* as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new file using multipart/form-data under &lt;file_attach_name&gt; name. Animated and video stickers can't be uploaded via HTTP URL. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "format": {
                        "description": "Format of the added sticker, must be one of \"static\" for a **.WEBP** or **.PNG** image, \"animated\" for a **.TGS** animation, \"video\" for a **.WEBM** video",
                        "type": "string"
                    },
                    "emoji_list": {
                        "description": "List of 1-20 emoji associated with the sticker",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "mask_position": {
                        "description": "Position where the mask should be placed on faces. For \"mask\" stickers only.",
                        "$ref": "#/components/schemas/MaskPosition"
                    },
                    "keywords": {
                        "description": "List of 0-20 search keywords for the sticker with total length of up to 64 characters. For \"regular\" and \"custom_emoji\" stickers only.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "InputMediaPhoto": {
                "type": "object",
                "description": "Represents a photo to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the photo to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the photo needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    }
                }
            },
            "InputMediaLivePhoto": {
                "type": "object",
                "description": "Represents a live photo to be sent.",
                "required": [
                    "media",
                    "type",
                    "photo"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the live photo to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the live photo needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "media": {
                        "description": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *live_photo*",
                        "type": "string",
                        "const": "live_photo"
                    },
                    "photo": {
                        "description": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "type": "string"
                    }
                }
            },
            "InputMediaVideo": {
                "type": "object",
                "description": "Represents a video to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the video to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the video needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height",
                        "type": "integer"
                    },
                    "duration": {
                        "description": "Video duration in seconds",
                        "type": "integer"
                    },
                    "cover": {
                        "description": "Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "start_timestamp": {
                        "description": "Start timestamp for the video in the message",
                        "type": "integer"
                    },
                    "supports_streaming": {
                        "description": "Pass *True* if the uploaded video is suitable for streaming",
                        "type": "boolean"
                    }
                }
            },
            "InputMediaAnimation": {
                "type": "object",
                "description": "Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the animation to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the animation needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *animation*",
                        "type": "string",
                        "const": "animation"
                    },
                    "width": {
                        "description": "Animation width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Animation height",
                        "type": "integer"
                    },
                    "duration": {
                        "description": "Animation duration in seconds",
                        "type": "integer"
                    }
                }
            },
            "InputMediaAudio": {
                "type": "object",
                "description": "Represents an audio file to be treated as music to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the audio to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *audio*",
                        "type": "string",
                        "const": "audio"
                    },
                    "duration": {
                        "description": "Duration of the audio in seconds",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Title of the audio",
                        "type": "string"
                    },
                    "performer": {
                        "description": "Performer of the audio",
                        "type": "string"
                    }
                }
            },
            "InputMediaDocument": {
                "type": "object",
                "description": "Represents a general file to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the document to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *document*",
                        "type": "string",
                        "const": "document"
                    },
                    "disable_content_type_detection": {
                        "description": "Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always *True*, if the document is sent as part of an album.",
                        "type": "boolean"
                    }
                }
            },
            "InputMediaVoiceNote": {
                "type": "object",
                "description": "Represents a voice message file to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "caption": {
                        "description": "Caption of the voice message to be sent, 0-1024 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "List of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *voice_note*",
                        "type": "string",
                        "const": "voice_note"
                    },
                    "duration": {
                        "description": "Duration of the voice message in seconds",
                        "type": "integer"
                    }
                }
            },
            "InputMedia": {
                "description": "This object represents the content of a media message to be sent.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputMediaPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaLivePhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaAnimation"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaAudio"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaDocument"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVoiceNote"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "photo": "#/components/schemas/InputMediaPhoto",
                        "live_photo": "#/components/schemas/InputMediaLivePhoto",
                        "video": "#/components/schemas/InputMediaVideo",
                        "animation": "#/components/schemas/InputMediaAnimation",
                        "audio": "#/components/schemas/InputMediaAudio",
                        "document": "#/components/schemas/InputMediaDocument",
                        "voice_note": "#/components/schemas/InputMediaVoiceNote"
                    }
                }
            },
            "InputMediaLocation": {
                "type": "object",
                "description": "Represents a location to be sent.",
                "required": [
                    "type",
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the media, must be *location*",
                        "type": "string",
                        "const": "location"
                    },
                    "latitude": {
                        "description": "Latitude of the location",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the location",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters; 0-1500",
                        "type": "number"
                    }
                }
            },
            "InputMediaVenue": {
                "type": "object",
                "description": "Represents a venue to be sent.",
                "required": [
                    "type",
                    "latitude",
                    "longitude",
                    "title",
                    "address"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the media, must be *venue*",
                        "type": "string",
                        "const": "venue"
                    },
                    "latitude": {
                        "description": "Latitude of the location",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the location",
                        "type": "number"
                    },
                    "title": {
                        "description": "Name of the venue",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address of the venue",
                        "type": "string"
                    },
                    "foursquare_id": {
                        "description": "Foursquare identifier of the venue",
                        "type": "string"
                    },
                    "foursquare_type": {
                        "description": "Foursquare type of the venue, if known. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".)",
                        "type": "string"
                    },
                    "google_place_id": {
                        "description": "Google Places identifier of the venue",
                        "type": "string"
                    },
                    "google_place_type": {
                        "description": "Google Places type of the venue. (See [supported types](https://developers.google.com/places/web-service/supported_types).)",
                        "type": "string"
                    }
                }
            },
            "InputPollMedia": {
                "description": "This object represents the content of a poll description or a quiz explanation to be sent.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputMediaLocation"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVenue"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaLivePhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaAnimation"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaAudio"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaDocument"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "location": "#/components/schemas/InputMediaLocation",
                        "venue": "#/components/schemas/InputMediaVenue",
                        "photo": "#/components/schemas/InputMediaPhoto",
                        "live_photo": "#/components/schemas/InputMediaLivePhoto",
                        "video": "#/components/schemas/InputMediaVideo",
                        "animation": "#/components/schemas/InputMediaAnimation",
                        "audio": "#/components/schemas/InputMediaAudio",
                        "document": "#/components/schemas/InputMediaDocument"
                    }
                }
            },
            "InputMediaLink": {
                "type": "object",
                "description": "Represents an HTTP link to be sent.",
                "required": [
                    "type",
                    "url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the media, must be *link*",
                        "type": "string",
                        "const": "link"
                    },
                    "url": {
                        "description": "HTTP URL of the link",
                        "type": "string"
                    }
                }
            },
            "InputMediaSticker": {
                "type": "object",
                "description": "Represents a sticker file to be sent.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *sticker*",
                        "type": "string",
                        "const": "sticker"
                    }
                }
            },
            "InputPollOptionMedia": {
                "description": "This object represents the content of a poll option to be sent.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputMediaLocation"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVenue"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaLink"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaLivePhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaAnimation"
                    },
                    {
                        "$ref": "#/components/schemas/InputMediaSticker"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "location": "#/components/schemas/InputMediaLocation",
                        "venue": "#/components/schemas/InputMediaVenue",
                        "link": "#/components/schemas/InputMediaLink",
                        "photo": "#/components/schemas/InputMediaPhoto",
                        "live_photo": "#/components/schemas/InputMediaLivePhoto",
                        "video": "#/components/schemas/InputMediaVideo",
                        "animation": "#/components/schemas/InputMediaAnimation",
                        "sticker": "#/components/schemas/InputMediaSticker"
                    }
                }
            },
            "InputPaidMediaPhoto": {
                "type": "object",
                "description": "The paid media to send is a photo.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    }
                }
            },
            "InputPaidMediaLivePhoto": {
                "type": "object",
                "description": "The paid media to send is a live photo.",
                "required": [
                    "media",
                    "type",
                    "photo"
                ],
                "properties": {
                    "media": {
                        "description": "Video of the live photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "type": "string"
                    },
                    "type": {
                        "description": "Type of the media, must be *live_photo*",
                        "type": "string",
                        "const": "live_photo"
                    },
                    "photo": {
                        "description": "The static photo to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "type": "string"
                    }
                }
            },
            "InputPaidMediaVideo": {
                "type": "object",
                "description": "The paid media to send is a video.",
                "required": [
                    "media",
                    "type"
                ],
                "properties": {
                    "media": {
                        "description": "File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height",
                        "type": "integer"
                    },
                    "type": {
                        "description": "Type of the media, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "duration": {
                        "description": "Video duration in seconds",
                        "type": "integer"
                    },
                    "supports_streaming": {
                        "description": "Pass *True* if the uploaded video is suitable for streaming",
                        "type": "boolean"
                    },
                    "cover": {
                        "description": "Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "start_timestamp": {
                        "description": "Start timestamp for the video in the message",
                        "type": "integer"
                    }
                }
            },
            "InputPaidMedia": {
                "description": "This object describes the paid media to be sent.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputPaidMediaPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputPaidMediaLivePhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputPaidMediaVideo"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "photo": "#/components/schemas/InputPaidMediaPhoto",
                        "live_photo": "#/components/schemas/InputPaidMediaLivePhoto",
                        "video": "#/components/schemas/InputPaidMediaVideo"
                    }
                }
            },
            "InputStoryContentPhoto": {
                "type": "object",
                "description": "Describes a photo to post as a story.",
                "required": [
                    "type",
                    "photo"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the content, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    },
                    "photo": {
                        "description": "The photo to post as a story. The photo must be of the size 1080x1920 and must not exceed 10 MB. The photo can't be reused and can only be uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the photo was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    }
                }
            },
            "InputStoryContentVideo": {
                "type": "object",
                "description": "Describes a video to post as a story.",
                "required": [
                    "type",
                    "video"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the content, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "video": {
                        "description": "The video to post as a story. The video must be of the size 720x1280, streamable, encoded with H.265 codec, with key frames added each second in the MPEG4 format, and must not exceed 30 MB. The video can't be reused and can only be uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the video was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "duration": {
                        "description": "Precise duration of the video in seconds; 0-60",
                        "type": "number"
                    },
                    "cover_frame_timestamp": {
                        "description": "Timestamp in seconds of the frame that will be used as the static cover for the story. Defaults to 0.0.",
                        "type": "number"
                    },
                    "is_animation": {
                        "description": "Pass *True* if the video has no sound",
                        "type": "boolean"
                    }
                }
            },
            "InputStoryContent": {
                "description": "This object describes the content of a story to post.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputStoryContentPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputStoryContentVideo"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "photo": "#/components/schemas/InputStoryContentPhoto",
                        "video": "#/components/schemas/InputStoryContentVideo"
                    }
                }
            },
            "StoryAreaPosition": {
                "type": "object",
                "description": "Describes the position of a clickable area within a story.",
                "required": [
                    "x_percentage",
                    "y_percentage",
                    "width_percentage",
                    "height_percentage",
                    "rotation_angle",
                    "corner_radius_percentage"
                ],
                "properties": {
                    "x_percentage": {
                        "description": "The abscissa of the area's center, as a percentage of the media width",
                        "type": "number"
                    },
                    "y_percentage": {
                        "description": "The ordinate of the area's center, as a percentage of the media height",
                        "type": "number"
                    },
                    "width_percentage": {
                        "description": "The width of the area's rectangle, as a percentage of the media width",
                        "type": "number"
                    },
                    "height_percentage": {
                        "description": "The height of the area's rectangle, as a percentage of the media height",
                        "type": "number"
                    },
                    "rotation_angle": {
                        "description": "The clockwise rotation angle of the rectangle, in degrees; 0-360",
                        "type": "number"
                    },
                    "corner_radius_percentage": {
                        "description": "The radius of the rectangle corner rounding, as a percentage of the media width",
                        "type": "number"
                    }
                }
            },
            "StoryArea": {
                "type": "object",
                "description": "Describes a clickable area on a story media.",
                "required": [
                    "position",
                    "type"
                ],
                "properties": {
                    "position": {
                        "description": "Position of the area",
                        "$ref": "#/components/schemas/StoryAreaPosition"
                    },
                    "type": {
                        "description": "Type of the area",
                        "$ref": "#/components/schemas/StoryAreaType"
                    }
                }
            },
            "InputChecklistTask": {
                "type": "object",
                "description": "Describes a task to add to a checklist.",
                "required": [
                    "id",
                    "text"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the task; must be positive and unique among all task identifiers currently present in the checklist",
                        "type": "integer"
                    },
                    "text": {
                        "description": "Text of the task; 1-100 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "List of special entities that appear in the text, which can be specified instead of parse_mode. Currently, only *bold*, *italic*, *underline*, *strikethrough*, *spoiler*, *custom_emoji*, and *date_time* entities are allowed.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    }
                }
            },
            "InputChecklist": {
                "type": "object",
                "description": "Describes a checklist to create.",
                "required": [
                    "title",
                    "tasks"
                ],
                "properties": {
                    "title": {
                        "description": "Title of the checklist; 1-255 characters after entities parsing",
                        "type": "string"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the title. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "title_entities": {
                        "description": "List of special entities that appear in the title, which can be specified instead of parse_mode. Currently, only *bold*, *italic*, *underline*, *strikethrough*, *spoiler*, *custom_emoji*, and *date_time* entities are allowed.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "others_can_add_tasks": {
                        "description": "Pass *True* if other users can add tasks to the checklist",
                        "type": "boolean"
                    },
                    "others_can_mark_tasks_as_done": {
                        "description": "Pass *True* if other users can mark tasks as done or not done in the checklist",
                        "type": "boolean"
                    },
                    "tasks": {
                        "description": "List of 1-30 tasks in the checklist",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputChecklistTask"
                        }
                    }
                }
            },
            "SuggestedPostParameters": {
                "type": "object",
                "description": "Contains parameters of a post that is being suggested by the bot.",
                "properties": {
                    "send_date": {
                        "description": "Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.",
                        "type": "integer"
                    },
                    "price": {
                        "description": "Proposed price for the post. If the field is omitted, then the post is unpaid.",
                        "$ref": "#/components/schemas/SuggestedPostPrice"
                    }
                }
            },
            "LocationAddress": {
                "type": "object",
                "description": "Describes the physical address of a location.",
                "required": [
                    "country_code"
                ],
                "properties": {
                    "country_code": {
                        "description": "The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located",
                        "type": "string"
                    },
                    "state": {
                        "description": "State of the location",
                        "type": "string"
                    },
                    "city": {
                        "description": "City of the location",
                        "type": "string"
                    },
                    "street": {
                        "description": "Street address of the location",
                        "type": "string"
                    }
                }
            },
            "StoryAreaTypeLocation": {
                "type": "object",
                "description": "Describes a story area pointing to a location. Currently, a story can have up to 10 location areas.",
                "required": [
                    "type",
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the area, must be *location*",
                        "type": "string",
                        "const": "location"
                    },
                    "latitude": {
                        "description": "Location latitude in degrees",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Location longitude in degrees",
                        "type": "number"
                    },
                    "address": {
                        "description": "Address of the location",
                        "$ref": "#/components/schemas/LocationAddress"
                    }
                }
            },
            "StoryAreaTypeSuggestedReaction": {
                "type": "object",
                "description": "Describes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas.",
                "required": [
                    "type",
                    "reaction_type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the area, must be *suggested_reaction*",
                        "type": "string",
                        "const": "suggested_reaction"
                    },
                    "reaction_type": {
                        "description": "Type of the reaction",
                        "$ref": "#/components/schemas/ReactionType"
                    },
                    "is_dark": {
                        "description": "Pass *True* if the reaction area has a dark background",
                        "type": "boolean"
                    },
                    "is_flipped": {
                        "description": "Pass *True* if reaction area corner is flipped",
                        "type": "boolean"
                    }
                }
            },
            "StoryAreaTypeLink": {
                "type": "object",
                "description": "Describes a story area pointing to an HTTP or tg:// link. Currently, a story can have up to 3 link areas.",
                "required": [
                    "type",
                    "url"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the area, must be *link*",
                        "type": "string",
                        "const": "link"
                    },
                    "url": {
                        "description": "HTTP or tg:// URL to be opened when the area is clicked",
                        "type": "string"
                    }
                }
            },
            "StoryAreaTypeWeather": {
                "type": "object",
                "description": "Describes a story area containing weather information. Currently, a story can have up to 3 weather areas.",
                "required": [
                    "type",
                    "temperature",
                    "emoji",
                    "background_color"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the area, must be *weather*",
                        "type": "string",
                        "const": "weather"
                    },
                    "temperature": {
                        "description": "Temperature, in degree Celsius",
                        "type": "number"
                    },
                    "emoji": {
                        "description": "Emoji representing the weather",
                        "type": "string"
                    },
                    "background_color": {
                        "description": "A color of the area background in the ARGB format",
                        "type": "integer"
                    }
                }
            },
            "StoryAreaTypeUniqueGift": {
                "type": "object",
                "description": "Describes a story area pointing to a unique gift. Currently, a story can have at most 1 unique gift area.",
                "required": [
                    "type",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the area, must be *unique_gift*",
                        "type": "string",
                        "const": "unique_gift"
                    },
                    "name": {
                        "description": "Unique name of the gift",
                        "type": "string"
                    }
                }
            },
            "StoryAreaType": {
                "description": "Describes the type of a clickable area on a story.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/StoryAreaTypeLocation"
                    },
                    {
                        "$ref": "#/components/schemas/StoryAreaTypeSuggestedReaction"
                    },
                    {
                        "$ref": "#/components/schemas/StoryAreaTypeLink"
                    },
                    {
                        "$ref": "#/components/schemas/StoryAreaTypeWeather"
                    },
                    {
                        "$ref": "#/components/schemas/StoryAreaTypeUniqueGift"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "location": "#/components/schemas/StoryAreaTypeLocation",
                        "suggested_reaction": "#/components/schemas/StoryAreaTypeSuggestedReaction",
                        "link": "#/components/schemas/StoryAreaTypeLink",
                        "weather": "#/components/schemas/StoryAreaTypeWeather",
                        "unique_gift": "#/components/schemas/StoryAreaTypeUniqueGift"
                    }
                }
            },
            "InputPollOption": {
                "type": "object",
                "description": "This object contains information about one answer option in a poll to be sent.",
                "required": [
                    "text"
                ],
                "properties": {
                    "text": {
                        "description": "Option text, 1-100 characters",
                        "type": "string"
                    },
                    "text_parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Currently, only custom emoji entities are allowed.",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of *text_parse_mode*.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "media": {
                        "description": "Media added to the poll option",
                        "$ref": "#/components/schemas/InputPollOptionMedia"
                    }
                }
            },
            "InputRichMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of a rich message to be sent as the result of an inline query.",
                "required": [
                    "rich_message"
                ],
                "properties": {
                    "rich_message": {
                        "description": "The message to be sent. Only previously uploaded files may be used in the message.",
                        "$ref": "#/components/schemas/InputRichMessage"
                    }
                }
            },
            "InputTextMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of a text message to be sent as the result of an inline query.",
                "required": [
                    "message_text"
                ],
                "properties": {
                    "message_text": {
                        "description": "Text of the message to be sent, 1-4096 characters",
                        "type": "string"
                    },
                    "link_preview_options": {
                        "description": "Link preview generation options for the message",
                        "$ref": "#/components/schemas/LinkPreviewOptionsInput"
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the message text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "entities": {
                        "description": "List of special entities that appear in message text, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    }
                }
            },
            "InputVenueMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of a venue message to be sent as the result of an inline query.",
                "required": [
                    "latitude",
                    "longitude",
                    "title",
                    "address"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude of the venue in degrees",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the venue in degrees",
                        "type": "number"
                    },
                    "title": {
                        "description": "Name of the venue",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address of the venue",
                        "type": "string"
                    },
                    "foursquare_id": {
                        "description": "Foursquare identifier of the venue, if known",
                        "type": "string"
                    },
                    "foursquare_type": {
                        "description": "Foursquare type of the venue, if known. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".)",
                        "type": "string"
                    },
                    "google_place_id": {
                        "description": "Google Places identifier of the venue",
                        "type": "string"
                    },
                    "google_place_type": {
                        "description": "Google Places type of the venue. (See [supported types](https://developers.google.com/places/web-service/supported_types).)",
                        "type": "string"
                    }
                }
            },
            "InputContactMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of a contact message to be sent as the result of an inline query.",
                "required": [
                    "phone_number",
                    "first_name"
                ],
                "properties": {
                    "phone_number": {
                        "description": "Contact's phone number",
                        "type": "string"
                    },
                    "first_name": {
                        "description": "Contact's first name",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Contact's last name",
                        "type": "string"
                    },
                    "vcard": {
                        "description": "Additional data about the contact in the form of a [vCard](https://en.wikipedia.org/wiki/VCard), 0-2048 bytes",
                        "type": "string"
                    }
                }
            },
            "InputInvoiceMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of an invoice message to be sent as the result of an inline query.",
                "required": [
                    "title",
                    "description",
                    "payload",
                    "currency",
                    "prices"
                ],
                "properties": {
                    "title": {
                        "description": "Product name, 1-32 characters",
                        "type": "string"
                    },
                    "description": {
                        "description": "Product description, 1-255 characters",
                        "type": "string"
                    },
                    "payload": {
                        "description": "Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.",
                        "type": "string"
                    },
                    "provider_token": {
                        "description": "Payment provider token, obtained via [@BotFather](https://t.me/botfather). Pass an empty string for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "currency": {
                        "description": "Three-letter ISO 4217 currency code, see [more on currencies](https://core.telegram.org/bots/payments#supported-currencies). Pass \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "prices": {
                        "description": "Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LabeledPrice"
                        }
                    },
                    "provider_data": {
                        "description": "A JSON-serialized object for data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider.",
                        "type": "string"
                    },
                    "max_tip_amount": {
                        "description": "The maximum accepted amount for tips in the *smallest units* of the currency (integer, **not** float/double). For example, for a maximum tip of `US$ 1.45` pass `max_tip_amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "integer"
                    },
                    "suggested_tip_amounts": {
                        "description": "A JSON-serialized Array of suggested amounts of tip in the *smallest units* of the currency (integer, **not** float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed *max_tip_amount*.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "photo_url": {
                        "description": "URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service.",
                        "type": "string"
                    },
                    "photo_size": {
                        "description": "Photo size in bytes",
                        "type": "integer"
                    },
                    "photo_width": {
                        "description": "Photo width",
                        "type": "integer"
                    },
                    "photo_height": {
                        "description": "Photo height",
                        "type": "integer"
                    },
                    "need_name": {
                        "description": "Pass *True* if you require the user's full name to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_phone_number": {
                        "description": "Pass *True* if you require the user's phone number to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_email": {
                        "description": "Pass *True* if you require the user's email address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_shipping_address": {
                        "description": "Pass *True* if you require the user's shipping address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_phone_number_to_provider": {
                        "description": "Pass *True* if the user's phone number should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_email_to_provider": {
                        "description": "Pass *True* if the user's email address should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "is_flexible": {
                        "description": "Pass *True* if the final price depends on the shipping method. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    }
                }
            },
            "InputMessageContent": {
                "description": "This object represents the content of a message to be sent as a result of an inline query.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputRichMessageContent"
                    },
                    {
                        "$ref": "#/components/schemas/InputTextMessageContent"
                    },
                    {
                        "$ref": "#/components/schemas/InputVenueMessageContent"
                    },
                    {
                        "$ref": "#/components/schemas/InputLocationMessageContent"
                    },
                    {
                        "$ref": "#/components/schemas/InputContactMessageContent"
                    },
                    {
                        "$ref": "#/components/schemas/InputInvoiceMessageContent"
                    }
                ]
            },
            "InputLocationMessageContent": {
                "type": "object",
                "description": "Represents the [content](https://core.telegram.org/bots/api#inputmessagecontent) of a location message to be sent as the result of an inline query.",
                "required": [
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude of the location in degrees",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the location in degrees",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters; 0-1500",
                        "type": "number"
                    },
                    "live_period": {
                        "description": "Period in seconds during which the location can be updated, must be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely",
                        "type": "integer"
                    },
                    "heading": {
                        "description": "For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.",
                        "type": "integer"
                    },
                    "proximity_alert_radius": {
                        "description": "For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.",
                        "type": "integer"
                    }
                }
            },
            "ReplyParameters": {
                "type": "object",
                "description": "Describes reply parameters for the message that is being sent.",
                "properties": {
                    "chat_id": {
                        "description": "If the message to be replied to is from a different chat, unique identifier for the chat or username of the bot, supergroup or channel in the format `@username`. Not supported for messages sent on behalf of a business account, messages from channel direct messages chats and ephemeral messages.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the message that will be replied to in the current chat, or in the chat *chat_id* if it is specified. Required if *ephemeral_message_id* isn't specified.",
                        "type": "integer"
                    },
                    "allow_sending_without_reply": {
                        "description": "Pass *True* if the message should be sent even if the specified message to be replied to is not found. Always *False* for replies in another chat or forum topic, and sent ephemeral messages. Always *True* for messages sent on behalf of a business account.",
                        "type": "boolean"
                    },
                    "quote": {
                        "description": "Quoted part of the message to be replied to; 0-1024 characters after entities parsing. The quote must be an exact substring of the message to be replied to, including *bold*, *italic*, *underline*, *strikethrough*, *spoiler*, *custom_emoji*, and *date_time* entities. The message will fail to send if the quote isn't found in the original message. Ignored for ephemeral messages.",
                        "type": "string"
                    },
                    "quote_parse_mode": {
                        "description": "Mode for parsing entities in the quote. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "quote_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the quote. It can be specified instead of *quote_parse_mode*.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "quote_position": {
                        "description": "Position of the quote in the original message in UTF-16 code units",
                        "type": "integer"
                    },
                    "checklist_task_id": {
                        "description": "Identifier of the specific checklist task to be replied to",
                        "type": "integer"
                    },
                    "poll_option_id": {
                        "description": "Persistent identifier of the specific poll option to be replied to",
                        "type": "string"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the incoming ephemeral message that will be replied to in the current chat. A reply to an ephemeral message must itself be an ephemeral message. An ephemeral message may only be replied to within 15 seconds of being sent. Required if *message_id* isn't specified.",
                        "type": "integer"
                    }
                }
            },
            "EphemeralMessageParameters": {
                "type": "object",
                "description": "",
                "required": [
                    "receiver_user_id"
                ],
                "properties": {
                    "receiver_user_id": {
                        "description": "Identifier of the user who will receive the message. It is not guaranteed that the user will receive the message, especially if they are offline. See [here](https://core.telegram.org/bots/api#ephemeral-messages-and-commands) for more details.",
                        "type": "integer"
                    },
                    "callback_query_id": {
                        "description": "Identifier of the callback query which triggered the message, if any",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "replace_callback_query_message": {
                        "description": "Pass *True* if the ephemeral message must be shown in place of the original message. Must be *False* for callback queries from ephemeral messages, which must be edited using regular *editEphemeralMessage...* methods.",
                        "type": "boolean"
                    }
                }
            },
            "PassportElementErrorUnspecified": {
                "type": "object",
                "description": "Represents an issue in an unspecified place. The error is considered resolved when new data is added.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "element_hash"
                ],
                "properties": {
                    "type": {
                        "description": "Type of element of the user's Telegram Passport which has the issue",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *unspecified*",
                        "type": "string",
                        "const": "unspecified"
                    },
                    "element_hash": {
                        "description": "Base64-encoded element hash",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorDataField": {
                "type": "object",
                "description": "Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "data_hash",
                    "field_name"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the error, one of \"personal_details\", \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\", \"address\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *data*",
                        "type": "string",
                        "const": "data"
                    },
                    "data_hash": {
                        "description": "Base64-encoded data hash",
                        "type": "string"
                    },
                    "field_name": {
                        "description": "Name of the data field which has the error",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorFile": {
                "type": "object",
                "description": "Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hash"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the issue, one of \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\", \"temporary_registration\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *file*",
                        "type": "string",
                        "const": "file"
                    },
                    "file_hash": {
                        "description": "Base64-encoded file hash",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorSelfie": {
                "type": "object",
                "description": "Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hash"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the issue, one of \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *selfie*",
                        "type": "string",
                        "const": "selfie"
                    },
                    "file_hash": {
                        "description": "Base64-encoded hash of the file with the selfie",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorTranslationFile": {
                "type": "object",
                "description": "Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hash"
                ],
                "properties": {
                    "type": {
                        "description": "Type of element of the user's Telegram Passport which has the issue, one of \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\", \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\", \"temporary_registration\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *translation_file*",
                        "type": "string",
                        "const": "translation_file"
                    },
                    "file_hash": {
                        "description": "Base64-encoded file hash",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorFrontSide": {
                "type": "object",
                "description": "Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hash"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the issue, one of \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *front_side*",
                        "type": "string",
                        "const": "front_side"
                    },
                    "file_hash": {
                        "description": "Base64-encoded hash of the file with the front side of the document",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorReverseSide": {
                "type": "object",
                "description": "Represents an issue with the reverse side of a document. The error is considered resolved when the file with reverse side of the document changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hash"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the issue, one of \"driver_license\", \"identity_card\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *reverse_side*",
                        "type": "string",
                        "const": "reverse_side"
                    },
                    "file_hash": {
                        "description": "Base64-encoded hash of the file with the reverse side of the document",
                        "type": "string"
                    }
                }
            },
            "PassportElementErrorFiles": {
                "type": "object",
                "description": "Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hashes"
                ],
                "properties": {
                    "type": {
                        "description": "The section of the user's Telegram Passport which has the issue, one of \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\", \"temporary_registration\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *files*",
                        "type": "string",
                        "const": "files"
                    },
                    "file_hashes": {
                        "description": "List of base64-encoded file hashes",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "PassportElementErrorTranslationFiles": {
                "type": "object",
                "description": "Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.",
                "required": [
                    "type",
                    "message",
                    "source",
                    "file_hashes"
                ],
                "properties": {
                    "type": {
                        "description": "Type of element of the user's Telegram Passport which has the issue, one of \"passport\", \"driver_license\", \"identity_card\", \"internal_passport\", \"utility_bill\", \"bank_statement\", \"rental_agreement\", \"passport_registration\", \"temporary_registration\"",
                        "type": "string"
                    },
                    "message": {
                        "description": "Error message",
                        "type": "string"
                    },
                    "source": {
                        "description": "Error source, must be *translation_files*",
                        "type": "string",
                        "const": "translation_files"
                    },
                    "file_hashes": {
                        "description": "List of base64-encoded file hashes",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "PassportElementError": {
                "description": "This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/PassportElementErrorUnspecified"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorDataField"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorFile"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorSelfie"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorTranslationFile"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorFrontSide"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorReverseSide"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorFiles"
                    },
                    {
                        "$ref": "#/components/schemas/PassportElementErrorTranslationFiles"
                    }
                ],
                "discriminator": {
                    "propertyName": "source",
                    "mapping": {
                        "unspecified": "#/components/schemas/PassportElementErrorUnspecified",
                        "data": "#/components/schemas/PassportElementErrorDataField",
                        "file": "#/components/schemas/PassportElementErrorFile",
                        "selfie": "#/components/schemas/PassportElementErrorSelfie",
                        "translation_file": "#/components/schemas/PassportElementErrorTranslationFile",
                        "front_side": "#/components/schemas/PassportElementErrorFrontSide",
                        "reverse_side": "#/components/schemas/PassportElementErrorReverseSide",
                        "files": "#/components/schemas/PassportElementErrorFiles",
                        "translation_files": "#/components/schemas/PassportElementErrorTranslationFiles"
                    }
                }
            },
            "LabeledPrice": {
                "type": "object",
                "description": "This object represents a portion of the price for goods or services.",
                "required": [
                    "label",
                    "amount"
                ],
                "properties": {
                    "label": {
                        "description": "Portion label",
                        "type": "string"
                    },
                    "amount": {
                        "description": "Price of the product in the *smallest units* of the [currency](https://core.telegram.org/bots/payments#supported-currencies) (integer, **not** float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).",
                        "type": "integer"
                    }
                }
            },
            "ShippingOption": {
                "type": "object",
                "description": "This object represents one shipping option.",
                "required": [
                    "id",
                    "title",
                    "prices"
                ],
                "properties": {
                    "id": {
                        "description": "Shipping option identifier",
                        "type": "string"
                    },
                    "title": {
                        "description": "Option title",
                        "type": "string"
                    },
                    "prices": {
                        "description": "List of price portions",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LabeledPrice"
                        }
                    }
                }
            },
            "InputRichBlockListItem": {
                "type": "object",
                "description": "An item of a list to be sent.",
                "required": [
                    "blocks"
                ],
                "properties": {
                    "blocks": {
                        "description": "The content of the item",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "has_checkbox": {
                        "description": "Pass *True* if the item has a checkbox",
                        "type": "boolean",
                        "const": true
                    },
                    "is_checked": {
                        "description": "Pass *True* if the item has a checked checkbox",
                        "type": "boolean",
                        "const": true
                    },
                    "value": {
                        "description": "For ordered lists, the numeric value of the item label",
                        "type": "integer"
                    },
                    "type": {
                        "description": "For ordered lists, the type of the item label; must be one of \"a\" for lowercase letters, \"A\" for uppercase letters, \"i\" for lowercase Roman numerals, \"I\" for uppercase Roman numerals, or \"1\" for decimal numbers",
                        "type": "string"
                    }
                }
            },
            "InputRichBlockSectionHeading": {
                "type": "object",
                "description": "A section heading, corresponding to the HTML tags `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, or `<h6>`.",
                "required": [
                    "type",
                    "text",
                    "size"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *heading*",
                        "type": "string",
                        "const": "heading"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "size": {
                        "description": "Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest",
                        "type": "integer"
                    }
                }
            },
            "InputRichBlockParagraph": {
                "type": "object",
                "description": "A text paragraph, corresponding to the HTML tag `<p>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *paragraph*",
                        "type": "string",
                        "const": "paragraph"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockPreformatted": {
                "type": "object",
                "description": "A preformatted text block, corresponding to the nested HTML tags `<pre>` and `<code>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *pre*",
                        "type": "string",
                        "const": "pre"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "language": {
                        "description": "The programming language of the text",
                        "type": "string"
                    }
                }
            },
            "InputRichBlockFooter": {
                "type": "object",
                "description": "A footer, corresponding to the HTML tag `<footer>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *footer*",
                        "type": "string",
                        "const": "footer"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockThinking": {
                "type": "object",
                "description": "A block with a \"Thinking...\" placeholder, corresponding to the custom HTML tag `<tg-thinking>`. The block may be used only in [sendRichMessageDraft](https://core.telegram.org/bots/api#sendrichmessagedraft), therefore it can't be received in messages. See [https://t.me/addemoji/AIActions](https://t.me/addemoji/AIActions) for examples of custom emoji that are recommended for usage in the block.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *thinking*",
                        "type": "string",
                        "const": "thinking"
                    },
                    "text": {
                        "description": "Text of the block. See [https://t.me/addemoji/AIActions](https://t.me/addemoji/AIActions) for examples of custom emoji that are recommended for usage in the block.",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockDivider": {
                "type": "object",
                "description": "A divider, corresponding to the HTML tag `<hr/>`.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *divider*",
                        "type": "string",
                        "const": "divider"
                    }
                }
            },
            "InputRichBlockMathematicalExpression": {
                "type": "object",
                "description": "A block with a mathematical expression in LaTeX format, corresponding to the custom HTML tag `<tg-math-block>`.",
                "required": [
                    "type",
                    "expression"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *mathematical_expression*",
                        "type": "string",
                        "const": "mathematical_expression"
                    },
                    "expression": {
                        "description": "The mathematical expression in LaTeX format",
                        "type": "string"
                    }
                }
            },
            "InputRichBlockAnchor": {
                "type": "object",
                "description": "A block with an anchor, corresponding to the HTML tag `<a>` with the attribute `name`.",
                "required": [
                    "type",
                    "name"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *anchor*",
                        "type": "string",
                        "const": "anchor"
                    },
                    "name": {
                        "description": "The name of the anchor",
                        "type": "string"
                    }
                }
            },
            "InputRichBlockList": {
                "type": "object",
                "description": "A list of blocks, corresponding to the HTML tag `<ul>` or `<ol>` with multiple nested tags `<li>`.",
                "required": [
                    "type",
                    "items"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *list*",
                        "type": "string",
                        "const": "list"
                    },
                    "items": {
                        "description": "Items of the list",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlockListItem"
                        }
                    }
                }
            },
            "InputRichBlockBlockQuotation": {
                "type": "object",
                "description": "A block quotation, corresponding to the HTML tag `<blockquote>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *blockquote*",
                        "type": "string",
                        "const": "blockquote"
                    },
                    "blocks": {
                        "description": "Content of the block",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockExpandableBlockQuotation": {
                "type": "object",
                "description": "A block quotation, corresponding to the HTML tag `<blockquote>` with custom attribute `\"expandable\"`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *expandable_blockquote*",
                        "type": "string",
                        "const": "expandable_blockquote"
                    },
                    "text": {
                        "description": "Content of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockPullQuotation": {
                "type": "object",
                "description": "A quotation with centered text, loosely corresponding to the HTML tag `<aside>`.",
                "required": [
                    "type",
                    "text"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *pullquote*",
                        "type": "string",
                        "const": "pullquote"
                    },
                    "text": {
                        "description": "Text of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "credit": {
                        "description": "Credit of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    }
                }
            },
            "InputRichBlockCollage": {
                "type": "object",
                "description": "A collage, corresponding to the custom HTML tag `<tg-collage>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *collage*",
                        "type": "string",
                        "const": "collage"
                    },
                    "blocks": {
                        "description": "Elements of the collage",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockSlideshow": {
                "type": "object",
                "description": "A slideshow, corresponding to the custom HTML tag `<tg-slideshow>`.",
                "required": [
                    "type",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *slideshow*",
                        "type": "string",
                        "const": "slideshow"
                    },
                    "blocks": {
                        "description": "Elements of the slideshow",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockTable": {
                "type": "object",
                "description": "A table, corresponding to the HTML tag `<table>`.",
                "required": [
                    "type",
                    "cells"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *table*",
                        "type": "string",
                        "const": "table"
                    },
                    "cells": {
                        "description": "Cells of the table",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/RichBlockTableCellInput"
                            }
                        }
                    },
                    "caption": {
                        "description": "Caption of the table",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "is_bordered": {
                        "description": "Pass *True* if the table has borders",
                        "type": "boolean",
                        "const": true
                    },
                    "is_striped": {
                        "description": "Pass *True* if the table is striped",
                        "type": "boolean",
                        "const": true
                    },
                    "is_compact": {
                        "description": "Pass *True* if table cells must have smaller indents",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "InputRichBlockDetails": {
                "type": "object",
                "description": "An expandable block for details disclosure, corresponding to the HTML tag `<details>`.",
                "required": [
                    "type",
                    "summary",
                    "blocks"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *details*",
                        "type": "string",
                        "const": "details"
                    },
                    "summary": {
                        "description": "Always shown summary of the block",
                        "$ref": "#/components/schemas/RichTextInput"
                    },
                    "blocks": {
                        "description": "Content of the block",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "is_open": {
                        "description": "Pass *True* if the content of the block is visible by default",
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "InputRichBlockMap": {
                "type": "object",
                "description": "A block with a map, corresponding to the custom HTML tag `<tg-map>`. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.",
                "required": [
                    "type",
                    "location"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *map*",
                        "type": "string",
                        "const": "map"
                    },
                    "location": {
                        "description": "Location of the center of the map",
                        "$ref": "#/components/schemas/LocationInput"
                    },
                    "zoom": {
                        "description": "Map zoom level; 0-24",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Map width; 0-10000",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Map height; 0-10000",
                        "type": "integer"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockButtons": {
                "type": "object",
                "description": "A block containing a list of buttons that are shown in one row, corresponding to the custom HTML tag `<tg-button-row>`.",
                "required": [
                    "type",
                    "buttons"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *buttons*",
                        "type": "string",
                        "const": "buttons"
                    },
                    "buttons": {
                        "description": "List of 1-8 buttons to send",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/RichMessageButtonInput"
                        }
                    },
                    "align": {
                        "description": "Horizontal alignment of the buttons. Currently, must be one of \"left\", \"center\", or \"right\".",
                        "type": "string"
                    }
                }
            },
            "InputRichBlockAnimation": {
                "type": "object",
                "description": "A block with an animation, corresponding to the HTML tag `<video>`.",
                "required": [
                    "type",
                    "animation"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *animation*",
                        "type": "string",
                        "const": "animation"
                    },
                    "animation": {
                        "description": "The animation. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaAnimation"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockAudio": {
                "type": "object",
                "description": "A block with a music file, corresponding to the HTML tag `<audio>`.",
                "required": [
                    "type",
                    "audio"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *audio*",
                        "type": "string",
                        "const": "audio"
                    },
                    "audio": {
                        "description": "The audio. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaAudio"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockDocument": {
                "type": "object",
                "description": "A block with a general file, corresponding to the custom HTML tag `<tg-document>`.",
                "required": [
                    "type",
                    "document"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *document*",
                        "type": "string",
                        "const": "document"
                    },
                    "document": {
                        "description": "The document. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaDocument"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockPhoto": {
                "type": "object",
                "description": "A block with a photo, corresponding to the HTML tag `<img>`.",
                "required": [
                    "type",
                    "photo"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *photo*",
                        "type": "string",
                        "const": "photo"
                    },
                    "photo": {
                        "description": "The photo. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaPhoto"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockVideo": {
                "type": "object",
                "description": "A block with a video, corresponding to the HTML tag `<video>`.",
                "required": [
                    "type",
                    "video"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *video*",
                        "type": "string",
                        "const": "video"
                    },
                    "video": {
                        "description": "The video. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaVideo"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlockVoiceNote": {
                "type": "object",
                "description": "A block with a voice note, corresponding to the HTML tag `<audio>`.",
                "required": [
                    "type",
                    "voice_note"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the block, must be *voice_note*",
                        "type": "string",
                        "const": "voice_note"
                    },
                    "voice_note": {
                        "description": "The voice note. Caption is ignored.",
                        "$ref": "#/components/schemas/InputMediaVoiceNote"
                    },
                    "caption": {
                        "description": "Caption of the block",
                        "$ref": "#/components/schemas/RichBlockCaptionInput"
                    }
                }
            },
            "InputRichBlock": {
                "description": "This object represents a block in a rich formatted message to be sent.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputRichBlockSectionHeading"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockParagraph"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockPreformatted"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockFooter"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockThinking"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockDivider"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockMathematicalExpression"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockAnchor"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockList"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockBlockQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockExpandableBlockQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockPullQuotation"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockCollage"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockSlideshow"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockTable"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockDetails"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockMap"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockButtons"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockAnimation"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockAudio"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockDocument"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockPhoto"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockVideo"
                    },
                    {
                        "$ref": "#/components/schemas/InputRichBlockVoiceNote"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "heading": "#/components/schemas/InputRichBlockSectionHeading",
                        "paragraph": "#/components/schemas/InputRichBlockParagraph",
                        "pre": "#/components/schemas/InputRichBlockPreformatted",
                        "footer": "#/components/schemas/InputRichBlockFooter",
                        "thinking": "#/components/schemas/InputRichBlockThinking",
                        "divider": "#/components/schemas/InputRichBlockDivider",
                        "mathematical_expression": "#/components/schemas/InputRichBlockMathematicalExpression",
                        "anchor": "#/components/schemas/InputRichBlockAnchor",
                        "list": "#/components/schemas/InputRichBlockList",
                        "blockquote": "#/components/schemas/InputRichBlockBlockQuotation",
                        "expandable_blockquote": "#/components/schemas/InputRichBlockExpandableBlockQuotation",
                        "pullquote": "#/components/schemas/InputRichBlockPullQuotation",
                        "collage": "#/components/schemas/InputRichBlockCollage",
                        "slideshow": "#/components/schemas/InputRichBlockSlideshow",
                        "table": "#/components/schemas/InputRichBlockTable",
                        "details": "#/components/schemas/InputRichBlockDetails",
                        "map": "#/components/schemas/InputRichBlockMap",
                        "buttons": "#/components/schemas/InputRichBlockButtons",
                        "animation": "#/components/schemas/InputRichBlockAnimation",
                        "audio": "#/components/schemas/InputRichBlockAudio",
                        "document": "#/components/schemas/InputRichBlockDocument",
                        "photo": "#/components/schemas/InputRichBlockPhoto",
                        "video": "#/components/schemas/InputRichBlockVideo",
                        "voice_note": "#/components/schemas/InputRichBlockVoiceNote"
                    }
                }
            },
            "InputRichMessageMedia": {
                "type": "object",
                "description": "Describes a media element embedded in an outgoing rich message.",
                "required": [
                    "id",
                    "media"
                ],
                "properties": {
                    "id": {
                        "description": "Unique identifier of the media used in a `tg://photo?id=`, `tg://video?id=`, `tg://document?id=`, or `tg://audio?id=` link. 1-64 characters, only `A-Z`, `a-z`, `0-9`, `_` and `-` are allowed.",
                        "type": "string"
                    },
                    "media": {
                        "description": "The media to be sent. Everything except the media itself and its properties is ignored.",
                        "$ref": "#/components/schemas/InputMedia"
                    }
                }
            },
            "InputRichMessage": {
                "type": "object",
                "description": "Describes a rich message to be sent. Exactly **one** of the fields *html*, *markdown*, or *blocks* must be used.",
                "properties": {
                    "is_rtl": {
                        "description": "Pass *True* if the rich message must be shown right-to-left",
                        "type": "boolean"
                    },
                    "skip_entity_detection": {
                        "description": "Pass *True* to skip automatic detection of entities (e.g., URLs, email addresses, username mentions, hashtags, cashtags, bot commands, or phone numbers) in the text",
                        "type": "boolean"
                    },
                    "blocks": {
                        "description": "Content of the rich message to send described as a list of blocks",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichBlock"
                        }
                    },
                    "markdown": {
                        "description": "Content of the rich message to send described using Markdown formatting. See [rich message formatting options](https://core.telegram.org/bots/api#rich-message-formatting-options) for more details. Use *media* field to specify the media used in the message.",
                        "type": "string"
                    },
                    "media": {
                        "description": "List of media that are specified in the *markdown* or *html* fields using `tg://photo?id=`, `tg://video?id=`, `tg://document?id=`, and `tg://audio?id=` links",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputRichMessageMedia"
                        }
                    },
                    "html": {
                        "description": "Content of the rich message to send described using HTML formatting. See [rich message formatting options](https://core.telegram.org/bots/api#rich-message-formatting-options) for more details. Use *media* field to specify the media used in the message.",
                        "type": "string"
                    }
                }
            },
            "MenuButtonDefault": {
                "type": "object",
                "description": "Describes that no specific value for the menu button was set.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the button, must be *default*",
                        "type": "string",
                        "const": "default"
                    }
                }
            },
            "MenuButtonCommands": {
                "type": "object",
                "description": "Represents a menu button, which opens the bot's list of commands.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the button, must be *commands*",
                        "type": "string",
                        "const": "commands"
                    }
                }
            },
            "MenuButtonWebApp": {
                "type": "object",
                "description": "Represents a menu button, which launches a [Web App](https://core.telegram.org/bots/webapps).",
                "required": [
                    "type",
                    "text",
                    "web_app"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the button, must be *web_app*",
                        "type": "string",
                        "const": "web_app"
                    },
                    "text": {
                        "description": "Text on the button",
                        "type": "string"
                    },
                    "web_app": {
                        "description": "Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method [answerWebAppQuery](https://core.telegram.org/bots/api#answerwebappquery). Alternatively, a `t.me` link to a Web App of the bot can be specified in the object instead of the Web App's URL, in which case the Web App will be opened as if the user pressed the link.",
                        "$ref": "#/components/schemas/WebAppInfo"
                    }
                }
            },
            "MenuButton": {
                "description": "This object describes the bot's menu button in a private chat.\n\nIf a menu button other than [MenuButtonDefault](https://core.telegram.org/bots/api#menubuttondefault) is set for a private chat, then it is applied in the chat. Otherwise the default menu button is applied. By default, the menu button opens the list of bot commands.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/MenuButtonDefault"
                    },
                    {
                        "$ref": "#/components/schemas/MenuButtonCommands"
                    },
                    {
                        "$ref": "#/components/schemas/MenuButtonWebApp"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "default": "#/components/schemas/MenuButtonDefault",
                        "commands": "#/components/schemas/MenuButtonCommands",
                        "web_app": "#/components/schemas/MenuButtonWebApp"
                    }
                }
            },
            "BotCommandScopeDefault": {
                "type": "object",
                "description": "Represents the default [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands. Default commands are used if no commands with a [narrower scope](https://core.telegram.org/bots/api#determining-list-of-commands) are specified for the user.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *default*",
                        "type": "string",
                        "const": "default"
                    }
                }
            },
            "BotCommandScopeAllPrivateChats": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering all private chats.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *all_private_chats*",
                        "type": "string",
                        "const": "all_private_chats"
                    }
                }
            },
            "BotCommandScopeAllGroupChats": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering all group and supergroup chats.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *all_group_chats*",
                        "type": "string",
                        "const": "all_group_chats"
                    }
                }
            },
            "BotCommandScopeAllChatAdministrators": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering all group and supergroup chat administrators.",
                "required": [
                    "type"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *all_chat_administrators*",
                        "type": "string",
                        "const": "all_chat_administrators"
                    }
                }
            },
            "BotCommandScopeChat": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering a specific chat.",
                "required": [
                    "type",
                    "chat_id"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *chat*",
                        "type": "string",
                        "const": "chat"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`. Channel direct messages chats and channel chats aren't supported.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "BotCommandScopeChatAdministrators": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering all administrators of a specific group or supergroup chat.",
                "required": [
                    "type",
                    "chat_id"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *chat_administrators*",
                        "type": "string",
                        "const": "chat_administrators"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`. Channel direct messages chats and channel chats aren't supported.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "BotCommandScopeChatMember": {
                "type": "object",
                "description": "Represents the [scope](https://core.telegram.org/bots/api#botcommandscope) of bot commands, covering a specific member of a group or supergroup chat.",
                "required": [
                    "type",
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "type": {
                        "description": "Scope type, must be *chat_member*",
                        "type": "string",
                        "const": "chat_member"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`. Channel direct messages chats and channel chats aren't supported.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "BotCommandScope": {
                "description": "This object represents the scope to which bot commands are applied.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/BotCommandScopeDefault"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeAllPrivateChats"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeAllGroupChats"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeAllChatAdministrators"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeChat"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeChatAdministrators"
                    },
                    {
                        "$ref": "#/components/schemas/BotCommandScopeChatMember"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "default": "#/components/schemas/BotCommandScopeDefault",
                        "all_private_chats": "#/components/schemas/BotCommandScopeAllPrivateChats",
                        "all_group_chats": "#/components/schemas/BotCommandScopeAllGroupChats",
                        "all_chat_administrators": "#/components/schemas/BotCommandScopeAllChatAdministrators",
                        "chat": "#/components/schemas/BotCommandScopeChat",
                        "chat_administrators": "#/components/schemas/BotCommandScopeChatAdministrators",
                        "chat_member": "#/components/schemas/BotCommandScopeChatMember"
                    }
                }
            },
            "InputProfilePhotoStatic": {
                "type": "object",
                "description": "A static profile photo in the .JPG format.",
                "required": [
                    "type",
                    "photo"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the profile photo, must be *static*",
                        "type": "string",
                        "const": "static"
                    },
                    "photo": {
                        "description": "The static profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the photo was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    }
                }
            },
            "InputProfilePhotoAnimated": {
                "type": "object",
                "description": "An animated profile photo in the MPEG4 format.",
                "required": [
                    "type",
                    "animation"
                ],
                "properties": {
                    "type": {
                        "description": "Type of the profile photo, must be *animated*",
                        "type": "string",
                        "const": "animated"
                    },
                    "animation": {
                        "description": "The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the photo was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "type": "string"
                    },
                    "main_frame_timestamp": {
                        "description": "Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.",
                        "type": "number"
                    }
                }
            },
            "InputProfilePhoto": {
                "description": "This object describes a profile photo to set.",
                "oneOf": [
                    {
                        "$ref": "#/components/schemas/InputProfilePhotoStatic"
                    },
                    {
                        "$ref": "#/components/schemas/InputProfilePhotoAnimated"
                    }
                ],
                "discriminator": {
                    "propertyName": "type",
                    "mapping": {
                        "static": "#/components/schemas/InputProfilePhotoStatic",
                        "animated": "#/components/schemas/InputProfilePhotoAnimated"
                    }
                }
            },
            "ReplyKeyboardMarkup": {
                "type": "object",
                "description": "This object represents a [custom keyboard](https://core.telegram.org/bots/features#keyboards) with reply options (see [Introduction to bots](https://core.telegram.org/bots/features#keyboards) for details and examples). Not supported in channels and for messages sent on behalf of a business account.",
                "required": [
                    "keyboard"
                ],
                "properties": {
                    "keyboard": {
                        "description": "Array of button rows, each represented by an Array of [KeyboardButton](https://core.telegram.org/bots/api#keyboardbutton) objects",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/KeyboardButton"
                            }
                        }
                    },
                    "selective": {
                        "description": "Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the *text* of the [Message](https://core.telegram.org/bots/api#message) object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.\n\n*Example:* A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard.",
                        "type": "boolean"
                    },
                    "force_reply": {
                        "description": "Pass *True* if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'",
                        "type": "boolean"
                    },
                    "input_field_placeholder": {
                        "description": "The placeholder to be shown in the input field when the keyboard is active; 1-64 characters",
                        "type": "string"
                    },
                    "resize_keyboard": {
                        "description": "Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to *False*, in which case the custom keyboard is always of the same height as the app's standard keyboard.",
                        "type": "boolean"
                    },
                    "one_time_keyboard": {
                        "description": "Requests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat - the user can press a special button in the input field to see the custom keyboard again. Defaults to *False*.",
                        "type": "boolean"
                    },
                    "is_persistent": {
                        "description": "Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to *False*, in which case the custom keyboard can be hidden and opened with a keyboard icon.",
                        "type": "boolean"
                    }
                }
            },
            "InlineKeyboardMarkupInput": {
                "type": "object",
                "description": "This object represents an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) that appears right next to the message it belongs to.",
                "required": [
                    "inline_keyboard"
                ],
                "properties": {
                    "inline_keyboard": {
                        "description": "Array of button rows, each represented by an Array of [InlineKeyboardButton](https://core.telegram.org/bots/api#inlinekeyboardbutton) objects",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/InlineKeyboardButtonInput"
                            }
                        }
                    },
                    "force_reply": {
                        "description": "Pass *True* if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited.",
                        "type": "boolean"
                    }
                }
            },
            "InlineKeyboardMarkupOutput": {
                "type": "object",
                "description": "This object represents an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) that appears right next to the message it belongs to.",
                "required": [
                    "inline_keyboard"
                ],
                "properties": {
                    "inline_keyboard": {
                        "description": "Array of button rows, each represented by an Array of [InlineKeyboardButton](https://core.telegram.org/bots/api#inlinekeyboardbutton) objects",
                        "type": "array",
                        "items": {
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/InlineKeyboardButtonOutput"
                            }
                        }
                    },
                    "force_reply": {
                        "description": "Pass *True* if the reply interface must be shown to the user, as if they had manually selected the bot's message and tapped 'Reply'. The value of the field can't be changed when the inline keyboard is edited.",
                        "type": "boolean"
                    }
                }
            },
            "ReplyKeyboardRemove": {
                "type": "object",
                "description": "Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see [ReplyKeyboardMarkup](https://core.telegram.org/bots/api#replykeyboardmarkup)). Not supported in channels and for messages sent on behalf of a business account.",
                "required": [
                    "remove_keyboard"
                ],
                "properties": {
                    "remove_keyboard": {
                        "description": "Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use *one_time_keyboard* in [ReplyKeyboardMarkup](https://core.telegram.org/bots/api#replykeyboardmarkup))",
                        "type": "boolean",
                        "const": true
                    },
                    "selective": {
                        "description": "Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the *text* of the [Message](https://core.telegram.org/bots/api#message) object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.\n\n*Example:* A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet.",
                        "type": "boolean"
                    }
                }
            },
            "ForceReply": {
                "type": "object",
                "description": "Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice [privacy mode](https://core.telegram.org/bots/features#privacy-mode). Not supported in channels and for messages sent on behalf of a user account.\n\n>**Example:** A [poll bot](https://t.me/PollBot) for groups runs in privacy mode (only receives commands, replies to its messages and mentions). There could be two ways to create a new poll:\n>\n- Explain the user how to send a command with parameters (e.g. /newpoll question answer1 answer2). May be appealing for hardcore users but lacks modern day polish.\n- Guide the user through a step-by-step process. 'Please send me your question', 'Cool, now let's add the first answer option', 'Great. Keep adding answer options, then send /done when you're ready'.\n>\nThe last option is definitely more attractive. And if you use [ForceReply](https://core.telegram.org/bots/api#forcereply) in your bot's questions, it will receive the user's answers even if it only receives replies, commands and mentions - without any extra work for the user.",
                "required": [
                    "force_reply"
                ],
                "properties": {
                    "selective": {
                        "description": "Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the *text* of the [Message](https://core.telegram.org/bots/api#message) object; 2) if the bot's message is a reply to a message in the same chat and forum topic, sender of the original message.",
                        "type": "boolean"
                    },
                    "force_reply": {
                        "description": "Shows reply interface to the user, as if they had manually selected the bot's message and tapped 'Reply'",
                        "type": "boolean",
                        "const": true
                    },
                    "input_field_placeholder": {
                        "description": "The placeholder to be shown in the input field when the reply is active; 1-64 characters",
                        "type": "string"
                    }
                }
            },
            "InputFile": {
                "type": "string",
                "format": "binary",
                "description": "The contents of a file to be uploaded, posted using multipart/form-data in the usual way that files are uploaded via the browser."
            },
            "ResponseParameters": {
                "type": "object",
                "description": "Describes why a request was unsuccessful.",
                "properties": {
                    "migrate_to_chat_id": {
                        "description": "The group has been migrated to a supergroup with the specified identifier.",
                        "type": "integer"
                    },
                    "retry_after": {
                        "description": "In case of exceeding flood control, the number of seconds left to wait before the request can be repeated",
                        "type": "integer"
                    }
                }
            },
            "TrueResponse": {
                "type": "object",
                "required": [
                    "ok",
                    "result"
                ],
                "properties": {
                    "ok": {
                        "type": "boolean",
                        "const": true
                    },
                    "result": {
                        "type": "boolean",
                        "const": true
                    }
                }
            },
            "GetMyCommandsParams": {
                "type": "object",
                "description": "The parameters of getMyCommands.",
                "properties": {
                    "scope": {
                        "description": "A JSON-serialized object, describing scope of users. Defaults to [BotCommandScopeDefault](https://core.telegram.org/bots/api#botcommandscopedefault).",
                        "$ref": "#/components/schemas/BotCommandScope"
                    },
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code or an empty string",
                        "type": "string"
                    }
                }
            },
            "SetMyCommandsParams": {
                "type": "object",
                "description": "The parameters of setMyCommands.",
                "required": [
                    "commands"
                ],
                "properties": {
                    "scope": {
                        "description": "A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to [BotCommandScopeDefault](https://core.telegram.org/bots/api#botcommandscopedefault).",
                        "$ref": "#/components/schemas/BotCommandScope"
                    },
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands.",
                        "type": "string"
                    },
                    "commands": {
                        "description": "A JSON-serialized list of bot commands to be set as the list of the bot's commands. Must have at most 100 elements.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/BotCommandInput"
                        },
                        "maxItems": 100
                    }
                }
            },
            "DeleteMyCommandsParams": {
                "type": "object",
                "description": "The parameters of deleteMyCommands.",
                "properties": {
                    "scope": {
                        "description": "A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to [BotCommandScopeDefault](https://core.telegram.org/bots/api#botcommandscopedefault).",
                        "$ref": "#/components/schemas/BotCommandScope"
                    },
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands.",
                        "type": "string"
                    }
                }
            },
            "GetMyDefaultAdministratorRightsParams": {
                "type": "object",
                "description": "The parameters of getMyDefaultAdministratorRights.",
                "properties": {
                    "for_channels": {
                        "description": "Pass *True* to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.",
                        "type": "boolean"
                    }
                }
            },
            "SetMyDefaultAdministratorRightsParams": {
                "type": "object",
                "description": "The parameters of setMyDefaultAdministratorRights.",
                "properties": {
                    "for_channels": {
                        "description": "Pass *True* to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed.",
                        "type": "boolean"
                    },
                    "rights": {
                        "description": "A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared.",
                        "$ref": "#/components/schemas/ChatAdministratorRightsInput"
                    }
                }
            },
            "GetMyNameParams": {
                "type": "object",
                "description": "The parameters of getMyName.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code or an empty string",
                        "type": "string"
                    }
                }
            },
            "SetMyNameParams": {
                "type": "object",
                "description": "The parameters of setMyName.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name.",
                        "type": "string"
                    },
                    "name": {
                        "description": "New bot name, 0-64 characters. Pass an empty string to remove the dedicated name for the given language.",
                        "type": "string",
                        "maxLength": 64
                    }
                }
            },
            "SetMyProfilePhotoParams": {
                "type": "object",
                "description": "The parameters of setMyProfilePhoto.",
                "required": [
                    "photo"
                ],
                "properties": {
                    "photo": {
                        "description": "The new profile photo to set",
                        "$ref": "#/components/schemas/InputProfilePhoto"
                    }
                }
            },
            "GetMyDescriptionParams": {
                "type": "object",
                "description": "The parameters of getMyDescription.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code or an empty string",
                        "type": "string"
                    }
                }
            },
            "SetMyDescriptionParams": {
                "type": "object",
                "description": "The parameters of setMyDescription.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code. If empty, the description will be applied to all users for whose language there is no dedicated description.",
                        "type": "string"
                    },
                    "description": {
                        "description": "New bot description, 0-512 characters. Pass an empty string to remove the dedicated description for the given language.",
                        "type": "string",
                        "maxLength": 512
                    }
                }
            },
            "GetMyShortDescriptionParams": {
                "type": "object",
                "description": "The parameters of getMyShortDescription.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code or an empty string",
                        "type": "string"
                    }
                }
            },
            "SetMyShortDescriptionParams": {
                "type": "object",
                "description": "The parameters of setMyShortDescription.",
                "properties": {
                    "language_code": {
                        "description": "A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description.",
                        "type": "string"
                    },
                    "short_description": {
                        "description": "New short description for the bot, 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.",
                        "type": "string",
                        "maxLength": 120
                    }
                }
            },
            "GetChatMenuButtonParams": {
                "type": "object",
                "description": "The parameters of getChatMenuButton.",
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target private chat. If not specified, the bot's default menu button will be returned.",
                        "type": "integer"
                    }
                }
            },
            "SetChatMenuButtonParams": {
                "type": "object",
                "description": "The parameters of setChatMenuButton.",
                "properties": {
                    "menu_button": {
                        "description": "A JSON-serialized object for the bot's new menu button. Defaults to [MenuButtonDefault](https://core.telegram.org/bots/api#menubuttondefault).",
                        "$ref": "#/components/schemas/MenuButton"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target private chat. If not specified, the bot's default menu button will be changed.",
                        "type": "integer"
                    }
                }
            },
            "GetManagedBotTokenParams": {
                "type": "object",
                "description": "The parameters of getManagedBotToken.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the managed bot whose token will be returned",
                        "type": "integer"
                    }
                }
            },
            "GetManagedBotAccessSettingsParams": {
                "type": "object",
                "description": "The parameters of getManagedBotAccessSettings.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the managed bot whose access settings will be returned",
                        "type": "integer"
                    }
                }
            },
            "SetManagedBotAccessSettingsParams": {
                "type": "object",
                "description": "The parameters of setManagedBotAccessSettings.",
                "required": [
                    "user_id",
                    "is_access_restricted"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the managed bot whose access settings will be changed",
                        "type": "integer"
                    },
                    "is_access_restricted": {
                        "description": "Pass *True* if only selected users can access the bot. The bot's owner can always access it.",
                        "type": "boolean"
                    },
                    "added_user_ids": {
                        "description": "A JSON-serialized list of identifiers of users who will have access to the bot in addition to its owner. Ignored if *is_access_restricted* is *False*. Must have at most 10 elements.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "maxItems": 10
                    }
                }
            },
            "ReplaceManagedBotTokenParams": {
                "type": "object",
                "description": "The parameters of replaceManagedBotToken.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the managed bot whose token will be replaced",
                        "type": "integer"
                    }
                }
            },
            "PostStoryParams": {
                "type": "object",
                "description": "The parameters of postStory.",
                "required": [
                    "business_connection_id",
                    "content",
                    "active_period"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "content": {
                        "description": "Content of the story",
                        "$ref": "#/components/schemas/InputStoryContent"
                    },
                    "areas": {
                        "description": "A JSON-serialized list of clickable areas to be shown on the story",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StoryArea"
                        }
                    },
                    "caption": {
                        "description": "Caption of the story, 0-2048 characters after entities parsing",
                        "type": "string",
                        "maxLength": 2048
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "active_period": {
                        "description": "Period after which the story is moved to the archive, in seconds, must be one of 21600, 43200, 86400, or 172800: 6 hours, 12 hours, 1 day, or 2 days",
                        "type": "integer",
                        "enum": [
                            21600,
                            43200,
                            86400,
                            172800
                        ]
                    },
                    "post_to_chat_page": {
                        "description": "Pass *True* to keep the story accessible after it expires",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Pass *True* if the content of the story must be protected from forwarding and screenshotting",
                        "type": "boolean"
                    }
                }
            },
            "RepostStoryParams": {
                "type": "object",
                "description": "The parameters of repostStory.",
                "required": [
                    "business_connection_id",
                    "from_chat_id",
                    "story_id",
                    "active_period"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "from_chat_id": {
                        "description": "Unique identifier of the chat which posted the story that should be reposted",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "story_id": {
                        "description": "Unique identifier of the story that should be reposted",
                        "type": "integer"
                    },
                    "active_period": {
                        "description": "Period after which the story is moved to the archive, in seconds, must be one of 21600, 43200, 86400, or 172800: 6 hours, 12 hours, 1 day, or 2 days",
                        "type": "integer",
                        "enum": [
                            21600,
                            43200,
                            86400,
                            172800
                        ]
                    },
                    "post_to_chat_page": {
                        "description": "Pass *True* to keep the story accessible after it expires",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Pass *True* if the content of the story must be protected from forwarding and screenshotting",
                        "type": "boolean"
                    }
                }
            },
            "EditStoryParams": {
                "type": "object",
                "description": "The parameters of editStory.",
                "required": [
                    "business_connection_id",
                    "story_id",
                    "content"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "story_id": {
                        "description": "Unique identifier of the story to edit",
                        "type": "integer"
                    },
                    "content": {
                        "description": "Content of the story",
                        "$ref": "#/components/schemas/InputStoryContent"
                    },
                    "areas": {
                        "description": "A JSON-serialized list of clickable areas to be shown on the story",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StoryArea"
                        }
                    },
                    "caption": {
                        "description": "Caption of the story, 0-2048 characters after entities parsing",
                        "type": "string",
                        "maxLength": 2048
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    }
                }
            },
            "DeleteStoryParams": {
                "type": "object",
                "description": "The parameters of deleteStory.",
                "required": [
                    "business_connection_id",
                    "story_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "story_id": {
                        "description": "Unique identifier of the story to delete",
                        "type": "integer"
                    }
                }
            },
            "GetBusinessConnectionParams": {
                "type": "object",
                "description": "The parameters of getBusinessConnection.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    }
                }
            },
            "ReadBusinessMessageParams": {
                "type": "object",
                "description": "The parameters of readBusinessMessage.",
                "required": [
                    "business_connection_id",
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which to read the message",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier of the chat in which the message was received. The chat must have been active in the last 24 hours.",
                        "type": "integer"
                    },
                    "message_id": {
                        "description": "Unique identifier of the message to mark as read",
                        "type": "integer"
                    }
                }
            },
            "DeleteBusinessMessagesParams": {
                "type": "object",
                "description": "The parameters of deleteBusinessMessages.",
                "required": [
                    "business_connection_id",
                    "message_ids"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which to delete the messages",
                        "type": "string"
                    },
                    "message_ids": {
                        "description": "A JSON-serialized list of identifiers of messages to delete. All messages must be from the same chat. See [deleteMessage](https://core.telegram.org/bots/api#deletemessage) for limitations on which messages can be deleted. Must have 1-100 elements.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 100
                    }
                }
            },
            "SetBusinessAccountNameParams": {
                "type": "object",
                "description": "The parameters of setBusinessAccountName.",
                "required": [
                    "business_connection_id",
                    "first_name"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "first_name": {
                        "description": "The new value of the first name for the business account, 1-64 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                    },
                    "last_name": {
                        "description": "The new value of the last name for the business account, 0-64 characters",
                        "type": "string",
                        "maxLength": 64
                    }
                }
            },
            "SetBusinessAccountUsernameParams": {
                "type": "object",
                "description": "The parameters of setBusinessAccountUsername.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "username": {
                        "description": "The new value of the username for the business account, 0-32 characters",
                        "type": "string",
                        "maxLength": 32
                    }
                }
            },
            "SetBusinessAccountBioParams": {
                "type": "object",
                "description": "The parameters of setBusinessAccountBio.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "bio": {
                        "description": "The new value of the bio for the business account, 0-140 characters",
                        "type": "string",
                        "maxLength": 140
                    }
                }
            },
            "SetBusinessAccountProfilePhotoParams": {
                "type": "object",
                "description": "The parameters of setBusinessAccountProfilePhoto.",
                "required": [
                    "business_connection_id",
                    "photo"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "photo": {
                        "description": "The new profile photo to set",
                        "$ref": "#/components/schemas/InputProfilePhoto"
                    },
                    "is_public": {
                        "description": "Pass *True* to set the public photo, which will be visible even if the main photo is hidden by the business account's privacy settings. An account can have only one public photo.",
                        "type": "boolean"
                    }
                }
            },
            "RemoveBusinessAccountProfilePhotoParams": {
                "type": "object",
                "description": "The parameters of removeBusinessAccountProfilePhoto.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "is_public": {
                        "description": "Pass *True* to remove the public photo, which is visible even if the main photo is hidden by the business account's privacy settings. After the main photo is removed, the previous profile photo (if present) becomes the main photo.",
                        "type": "boolean"
                    }
                }
            },
            "SetBusinessAccountGiftSettingsParams": {
                "type": "object",
                "description": "The parameters of setBusinessAccountGiftSettings.",
                "required": [
                    "business_connection_id",
                    "show_gift_button",
                    "accepted_gift_types"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "show_gift_button": {
                        "description": "Pass *True* if a button for sending a gift to the user or by the business account must always be shown in the input field",
                        "type": "boolean"
                    },
                    "accepted_gift_types": {
                        "description": "Types of gifts accepted by the business account",
                        "$ref": "#/components/schemas/AcceptedGiftTypesInput"
                    }
                }
            },
            "GetBusinessAccountStarBalanceParams": {
                "type": "object",
                "description": "The parameters of getBusinessAccountStarBalance.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    }
                }
            },
            "TransferBusinessAccountStarsParams": {
                "type": "object",
                "description": "The parameters of transferBusinessAccountStars.",
                "required": [
                    "business_connection_id",
                    "star_count"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "star_count": {
                        "description": "Number of Telegram Stars to transfer, 1-10000",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10000
                    }
                }
            },
            "GetChatMemberParams": {
                "type": "object",
                "description": "The parameters of getChatMember.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "GetChatAdministratorsParams": {
                "type": "object",
                "description": "The parameters of getChatAdministrators.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "return_bots": {
                        "description": "Pass *True* to additionally receive all bots that are administrators of the chat. By default, bots other than the current bot are omitted.",
                        "type": "boolean"
                    }
                }
            },
            "GetChatMemberCountParams": {
                "type": "object",
                "description": "The parameters of getChatMemberCount.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "LeaveChatParams": {
                "type": "object",
                "description": "The parameters of leaveChat.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`. Channel direct messages chats aren't supported; leave the corresponding channel instead.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "PromoteChatMemberParams": {
                "type": "object",
                "description": "The parameters of promoteChatMember.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "can_manage_chat": {
                        "description": "Pass *True* if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.",
                        "type": "boolean"
                    },
                    "can_change_info": {
                        "description": "Pass *True* if the administrator can change chat title, photo and other settings",
                        "type": "boolean"
                    },
                    "can_post_messages": {
                        "description": "Pass *True* if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only",
                        "type": "boolean"
                    },
                    "can_edit_messages": {
                        "description": "Pass *True* if the administrator can edit messages of other users and can pin messages; for channels only",
                        "type": "boolean"
                    },
                    "can_delete_messages": {
                        "description": "Pass *True* if the administrator can delete messages of other users",
                        "type": "boolean"
                    },
                    "can_invite_users": {
                        "description": "Pass *True* if the administrator can invite new users to the chat",
                        "type": "boolean"
                    },
                    "can_restrict_members": {
                        "description": "Pass *True* if the administrator can restrict, ban or unban chat members, or access supergroup statistics. For backward compatibility, defaults to *True* for promotions of channel administrators.",
                        "type": "boolean"
                    },
                    "can_pin_messages": {
                        "description": "Pass *True* if the administrator can pin messages; for supergroups only",
                        "type": "boolean"
                    },
                    "can_manage_topics": {
                        "description": "Pass *True* if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only",
                        "type": "boolean"
                    },
                    "can_promote_members": {
                        "description": "Pass *True* if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)",
                        "type": "boolean"
                    },
                    "can_manage_video_chats": {
                        "description": "Pass *True* if the administrator can manage video chats",
                        "type": "boolean"
                    },
                    "can_post_stories": {
                        "description": "Pass *True* if the administrator can post stories to the chat",
                        "type": "boolean"
                    },
                    "can_edit_stories": {
                        "description": "Pass *True* if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive",
                        "type": "boolean"
                    },
                    "can_delete_stories": {
                        "description": "Pass *True* if the administrator can delete stories posted by other users",
                        "type": "boolean"
                    },
                    "can_manage_direct_messages": {
                        "description": "Pass *True* if the administrator can manage direct messages within the channel and decline suggested posts; for channels only",
                        "type": "boolean"
                    },
                    "can_manage_tags": {
                        "description": "Pass *True* if the administrator can edit the tags of regular members; for groups and supergroups only",
                        "type": "boolean"
                    },
                    "can_send_welcome_messages": {
                        "description": "Pass *True* if the administrator can manage chat welcome messages or directly send them in the case of bots",
                        "type": "boolean"
                    },
                    "is_anonymous": {
                        "description": "Pass *True* if the administrator's presence in the chat is hidden",
                        "type": "boolean"
                    }
                }
            },
            "SetChatAdministratorCustomTitleParams": {
                "type": "object",
                "description": "The parameters of setChatAdministratorCustomTitle.",
                "required": [
                    "chat_id",
                    "user_id",
                    "custom_title"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "custom_title": {
                        "description": "New custom title for the administrator, 0-16 characters, emoji are not allowed",
                        "type": "string",
                        "maxLength": 16
                    }
                }
            },
            "SetChatMemberTagParams": {
                "type": "object",
                "description": "The parameters of setChatMemberTag.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "tag": {
                        "description": "New tag for the member, 0-16 characters, emoji are not allowed",
                        "type": "string",
                        "maxLength": 16
                    }
                }
            },
            "BanChatMemberParams": {
                "type": "object",
                "description": "The parameters of banChatMember.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target group or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "until_date": {
                        "description": "Date when the user will be unbanned; Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever. Applied for supergroups and channels only.",
                        "type": "integer"
                    },
                    "revoke_messages": {
                        "description": "Pass *True* to delete all messages from the chat for the user that is being removed. If *False*, the user will be able to see messages in the group that were sent before the user was removed. Always *True* for supergroups and channels.",
                        "type": "boolean"
                    }
                }
            },
            "RestrictChatMemberParams": {
                "type": "object",
                "description": "The parameters of restrictChatMember.",
                "required": [
                    "chat_id",
                    "user_id",
                    "permissions"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "until_date": {
                        "description": "Date when restrictions will be lifted for the user; Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever.",
                        "type": "integer"
                    },
                    "use_independent_chat_permissions": {
                        "description": "Pass *True* if chat permissions are set independently. Otherwise, the *can_send_other_messages* and *can_add_web_page_previews* permissions will imply the *can_send_messages*, *can_send_audios*, *can_send_documents*, *can_send_photos*, *can_send_videos*, *can_send_video_notes*, and *can_send_voice_notes* permissions; the *can_send_polls* permission will imply the *can_send_messages* permission.",
                        "type": "boolean"
                    },
                    "permissions": {
                        "description": "A JSON-serialized object for new user permissions",
                        "$ref": "#/components/schemas/ChatPermissionsInput"
                    }
                }
            },
            "UnbanChatMemberParams": {
                "type": "object",
                "description": "The parameters of unbanChatMember.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "only_if_banned": {
                        "description": "Do nothing if the user is not banned",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target group or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "BanChatSenderChatParams": {
                "type": "object",
                "description": "The parameters of banChatSenderChat.",
                "required": [
                    "chat_id",
                    "sender_chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "sender_chat_id": {
                        "description": "Unique identifier of the target sender chat",
                        "type": "integer"
                    }
                }
            },
            "UnbanChatSenderChatParams": {
                "type": "object",
                "description": "The parameters of unbanChatSenderChat.",
                "required": [
                    "chat_id",
                    "sender_chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "sender_chat_id": {
                        "description": "Unique identifier of the target sender chat",
                        "type": "integer"
                    }
                }
            },
            "ApproveChatJoinRequestParams": {
                "type": "object",
                "description": "The parameters of approveChatJoinRequest.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "DeclineChatJoinRequestParams": {
                "type": "object",
                "description": "The parameters of declineChatJoinRequest.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "StopPollParams": {
                "type": "object",
                "description": "The parameters of stopPoll.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for a new message [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the original message with the poll",
                        "type": "integer"
                    }
                }
            },
            "EditMessageTextParams": {
                "type": "object",
                "description": "The parameters of editMessageText.",
                "properties": {
                    "rich_message": {
                        "description": "New rich content of the message; required if *text* isn't specified. Direct upload of new files and explicit upload of files by a URL isn't supported when an inline message is edited.",
                        "$ref": "#/components/schemas/InputRichMessage"
                    },
                    "link_preview_options": {
                        "description": "Link preview generation options for the message",
                        "$ref": "#/components/schemas/LinkPreviewOptionsInput"
                    },
                    "text": {
                        "description": "New text of the message, 1-4096 characters after entities parsing; required if *rich_message* isn't specified",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4096
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message to edit.",
                        "type": "integer"
                    }
                }
            },
            "EditMessageLiveLocationParams": {
                "type": "object",
                "description": "The parameters of editMessageLiveLocation.",
                "required": [
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "live_period": {
                        "description": "New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current *live_period* by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then *live_period* remains unchanged.",
                        "type": "integer"
                    },
                    "heading": {
                        "description": "Direction in which the user is moving, in degrees. Values between 1-360 are accepted.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 360
                    },
                    "proximity_alert_radius": {
                        "description": "The maximum distance for proximity alerts about approaching another chat member, in meters. Values between 1-100000 are accepted.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100000
                    },
                    "latitude": {
                        "description": "Latitude of new location",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of new location",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters, 0-1500",
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1500
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for a new [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message to edit.",
                        "type": "integer"
                    }
                }
            },
            "StopMessageLiveLocationParams": {
                "type": "object",
                "description": "The parameters of stopMessageLiveLocation.",
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for a new [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message with live location to stop.",
                        "type": "integer"
                    }
                }
            },
            "EditMessageMediaParams": {
                "type": "object",
                "description": "The parameters of editMessageMedia.",
                "required": [
                    "media"
                ],
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for a new [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "media": {
                        "description": "A JSON-serialized object for the new media content of the message",
                        "$ref": "#/components/schemas/InputMedia"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message to edit.",
                        "type": "integer"
                    }
                }
            },
            "EditMessageCaptionParams": {
                "type": "object",
                "description": "The parameters of editMessageCaption.",
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "caption": {
                        "description": "New caption of the message, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media. Supported only for animation, photo and video messages.",
                        "type": "boolean"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message to edit.",
                        "type": "integer"
                    }
                }
            },
            "EditMessageChecklistParams": {
                "type": "object",
                "description": "The parameters of editMessageChecklist.",
                "required": [
                    "checklist",
                    "business_connection_id",
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for the new [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) for the message",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "checklist": {
                        "description": "A JSON-serialized object for the new checklist",
                        "$ref": "#/components/schemas/InputChecklist"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Unique identifier for the target message",
                        "type": "integer"
                    }
                }
            },
            "EditMessageReplyMarkupParams": {
                "type": "object",
                "description": "The parameters of editMessageReplyMarkup.",
                "properties": {
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message to be edited was sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the message to edit.",
                        "type": "integer"
                    }
                }
            },
            "EditEphemeralMessageTextParams": {
                "type": "object",
                "description": "The parameters of editEphemeralMessageText.",
                "required": [
                    "chat_id",
                    "receiver_user_id",
                    "ephemeral_message_id"
                ],
                "properties": {
                    "rich_message": {
                        "description": "New rich content of the message; required if *text* isn't specified",
                        "$ref": "#/components/schemas/InputRichMessage"
                    },
                    "link_preview_options": {
                        "description": "Link preview generation options for the message",
                        "$ref": "#/components/schemas/LinkPreviewOptionsInput"
                    },
                    "text": {
                        "description": "New text of the message, 1-4096 characters after entities parsing; required if *rich_message* isn't specified",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4096
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "receiver_user_id": {
                        "description": "Identifier of the user who received the message",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the ephemeral message to edit",
                        "type": "integer"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "EditEphemeralMessageMediaParams": {
                "type": "object",
                "description": "The parameters of editEphemeralMessageMedia.",
                "required": [
                    "media",
                    "chat_id",
                    "receiver_user_id",
                    "ephemeral_message_id"
                ],
                "properties": {
                    "media": {
                        "description": "A JSON-serialized object for the new media content of the message",
                        "$ref": "#/components/schemas/InputMedia"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "receiver_user_id": {
                        "description": "Identifier of the user who received the message",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the ephemeral message to edit",
                        "type": "integer"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "EditEphemeralMessageCaptionParams": {
                "type": "object",
                "description": "The parameters of editEphemeralMessageCaption.",
                "required": [
                    "chat_id",
                    "receiver_user_id",
                    "ephemeral_message_id"
                ],
                "properties": {
                    "caption": {
                        "description": "New caption of the message, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media. Supported only for animation, photo and video messages.",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "receiver_user_id": {
                        "description": "Identifier of the user who received the message",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the ephemeral message to edit",
                        "type": "integer"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "EditEphemeralMessageReplyMarkupParams": {
                "type": "object",
                "description": "The parameters of editEphemeralMessageReplyMarkup.",
                "required": [
                    "chat_id",
                    "receiver_user_id",
                    "ephemeral_message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "receiver_user_id": {
                        "description": "Identifier of the user who received the message",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the ephemeral message to edit",
                        "type": "integer"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "DeleteMessageParams": {
                "type": "object",
                "description": "The parameters of deleteMessage.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the message to delete",
                        "type": "integer"
                    }
                }
            },
            "DeleteMessagesParams": {
                "type": "object",
                "description": "The parameters of deleteMessages.",
                "required": [
                    "chat_id",
                    "message_ids"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_ids": {
                        "description": "A JSON-serialized list of identifiers of messages to delete. See [deleteMessage](https://core.telegram.org/bots/api#deletemessage) for limitations on which messages can be deleted. Must have 1-100 elements.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 100
                    }
                }
            },
            "DeleteEphemeralMessageParams": {
                "type": "object",
                "description": "The parameters of deleteEphemeralMessage.",
                "required": [
                    "chat_id",
                    "receiver_user_id",
                    "ephemeral_message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "receiver_user_id": {
                        "description": "Identifier of the user who received the message",
                        "type": "integer"
                    },
                    "ephemeral_message_id": {
                        "description": "Identifier of the ephemeral message to delete",
                        "type": "integer"
                    }
                }
            },
            "DeleteMessageReactionParams": {
                "type": "object",
                "description": "The parameters of deleteMessageReaction.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the target message",
                        "type": "integer"
                    },
                    "user_id": {
                        "description": "Identifier of the user whose reaction will be removed, if the reaction was added by a user",
                        "type": "integer"
                    },
                    "actor_chat_id": {
                        "description": "Identifier of the chat whose reaction will be removed, if the reaction was added by a chat",
                        "type": "integer"
                    }
                }
            },
            "DeleteAllMessageReactionsParams": {
                "type": "object",
                "description": "The parameters of deleteAllMessageReactions.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Identifier of the user whose reactions will be removed, if the reactions were added by a user",
                        "type": "integer"
                    },
                    "actor_chat_id": {
                        "description": "Identifier of the chat whose reactions will be removed, if the reactions were added by a chat",
                        "type": "integer"
                    }
                }
            },
            "ApproveSuggestedPostParams": {
                "type": "object",
                "description": "The parameters of approveSuggestedPost.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target direct messages chat",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of a suggested post message to approve",
                        "type": "integer"
                    },
                    "send_date": {
                        "description": "Point in time (Unix timestamp) when the post is expected to be published; omit if the date has already been specified when the suggested post was created. If specified, then the date must be not more than 2678400 seconds (30 days) in the future.",
                        "type": "integer"
                    }
                }
            },
            "DeclineSuggestedPostParams": {
                "type": "object",
                "description": "The parameters of declineSuggestedPost.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target direct messages chat",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of a suggested post message to decline",
                        "type": "integer"
                    },
                    "comment": {
                        "description": "Comment for the creator of the suggested post, 0-128 characters",
                        "type": "string",
                        "maxLength": 128
                    }
                }
            },
            "CopyMessageParams": {
                "type": "object",
                "description": "The parameters of copyMessage.",
                "required": [
                    "from_chat_id",
                    "message_id",
                    "chat_id"
                ],
                "properties": {
                    "from_chat_id": {
                        "description": "Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`)",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Message identifier in the chat specified in *from_chat_id*",
                        "type": "integer"
                    },
                    "caption": {
                        "description": "New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept.",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media. Ignored if a new caption isn't specified.",
                        "type": "boolean"
                    },
                    "video_start_timestamp": {
                        "description": "New start timestamp for the copied video in the message",
                        "type": "integer"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; only available when copying to private chats",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "CopyMessagesParams": {
                "type": "object",
                "description": "The parameters of copyMessages.",
                "required": [
                    "chat_id",
                    "from_chat_id",
                    "message_ids"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the messages will be sent; required if the messages are sent to a direct messages chat",
                        "type": "integer"
                    },
                    "from_chat_id": {
                        "description": "Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format `@username`)",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_ids": {
                        "description": "A JSON-serialized list of identifiers of messages in the chat *from_chat_id* to copy. The identifiers must be specified in a strictly increasing order. Must have 1-100 elements.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 100
                    },
                    "disable_notification": {
                        "description": "Sends the messages [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent messages from forwarding and saving",
                        "type": "boolean"
                    },
                    "remove_caption": {
                        "description": "Pass *True* to copy the messages without their captions",
                        "type": "boolean"
                    }
                }
            },
            "ForwardMessageParams": {
                "type": "object",
                "description": "The parameters of forwardMessage.",
                "required": [
                    "from_chat_id",
                    "message_id",
                    "chat_id"
                ],
                "properties": {
                    "from_chat_id": {
                        "description": "Unique identifier for the chat where the original message was sent (or username of the target bot, supergroup or channel in the format `@username`)",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Message identifier in the chat specified in *from_chat_id*",
                        "type": "integer"
                    },
                    "video_start_timestamp": {
                        "description": "New start timestamp for the forwarded video in the message",
                        "type": "integer"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be forwarded; required if the message is forwarded to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the forwarded message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; only available when forwarding to private chats",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "ForwardMessagesParams": {
                "type": "object",
                "description": "The parameters of forwardMessages.",
                "required": [
                    "chat_id",
                    "from_chat_id",
                    "message_ids"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the messages will be forwarded; required if the messages are forwarded to a direct messages chat",
                        "type": "integer"
                    },
                    "from_chat_id": {
                        "description": "Unique identifier for the chat where the original messages were sent (or username of the target bot, supergroup or channel in the format `@username`)",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_ids": {
                        "description": "A JSON-serialized list of identifiers of messages in the chat *from_chat_id* to forward. The identifiers must be specified in a strictly increasing order. Must have 1-100 elements.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "minItems": 1,
                        "maxItems": 100
                    },
                    "disable_notification": {
                        "description": "Sends the messages [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the forwarded messages from forwarding and saving",
                        "type": "boolean"
                    }
                }
            },
            "SendGameParams": {
                "type": "object",
                "description": "The parameters of sendGame.",
                "required": [
                    "game_short_name",
                    "chat_id"
                ],
                "properties": {
                    "game_short_name": {
                        "description": "Short name of the game, serves as the unique identifier for the game. Set up your games via [@BotFather](https://t.me/botfather).",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot in the format `@username`. Games can't be sent to channel direct messages chats and channel chats.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards). If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game.",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "SetGameScoreParams": {
                "type": "object",
                "description": "The parameters of setGameScore.",
                "required": [
                    "user_id",
                    "score"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier",
                        "type": "integer"
                    },
                    "score": {
                        "description": "New score, must be non-negative",
                        "type": "integer"
                    },
                    "force": {
                        "description": "Pass *True* if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters.",
                        "type": "boolean"
                    },
                    "disable_edit_message": {
                        "description": "Pass *True* if the game message should not be automatically edited to include the current scoreboard",
                        "type": "boolean"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the sent message.",
                        "type": "integer"
                    }
                }
            },
            "GetGameHighScoresParams": {
                "type": "object",
                "description": "The parameters of getGameHighScores.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Target user id",
                        "type": "integer"
                    },
                    "inline_message_id": {
                        "description": "Required if *chat_id* and *message_id* are not specified. Identifier of the inline message.",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Required if *inline_message_id* is not specified. Unique identifier for the target chat.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Required if *inline_message_id* is not specified. Identifier of the sent message.",
                        "type": "integer"
                    }
                }
            },
            "SendGiftParams": {
                "type": "object",
                "description": "The parameters of sendGift.",
                "required": [
                    "gift_id"
                ],
                "properties": {
                    "gift_id": {
                        "description": "Identifier of the gift; limited gifts can't be sent to channel chats",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "pay_for_upgrade": {
                        "description": "Pass *True* to pay for the gift upgrade from the bot's balance, thereby making the upgrade free for the receiver",
                        "type": "boolean"
                    },
                    "text": {
                        "description": "Text that will be shown along with the gift, 0-128 characters after entities parsing",
                        "type": "string",
                        "maxLength": 128
                    },
                    "text_parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than \"bold\", \"italic\", \"underline\", \"strikethrough\", \"spoiler\", \"custom_emoji\", and \"date_time\" are ignored.",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *text_parse_mode*. Entities other than \"bold\", \"italic\", \"underline\", \"strikethrough\", \"spoiler\", \"custom_emoji\", and \"date_time\" are ignored.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Required if *user_id* is not specified. Unique identifier for the chat or username of the channel (in the format `@username`) that will receive the gift.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Required if *chat_id* is not specified. Unique identifier of the target user who will receive the gift.",
                        "type": "integer"
                    }
                }
            },
            "GiftPremiumSubscriptionParams": {
                "type": "object",
                "description": "The parameters of giftPremiumSubscription.",
                "required": [
                    "user_id",
                    "star_count",
                    "month_count"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user who will receive a Telegram Premium subscription",
                        "type": "integer"
                    },
                    "star_count": {
                        "description": "Number of Telegram Stars to pay for the Telegram Premium subscription; must be 1000 for 3 months, 1500 for 6 months, and 2500 for 12 months",
                        "type": "integer"
                    },
                    "month_count": {
                        "description": "Number of months the Telegram Premium subscription will be active for the user, must be one of 3, 6, or 12",
                        "type": "integer",
                        "enum": [
                            3,
                            6,
                            12
                        ]
                    },
                    "text": {
                        "description": "Text that will be shown along with the service message about the subscription, 0-128 characters after entities parsing",
                        "type": "string",
                        "maxLength": 128
                    },
                    "text_parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than \"bold\", \"italic\", \"underline\", \"strikethrough\", \"spoiler\", \"custom_emoji\", and \"date_time\" are ignored.",
                        "type": "string"
                    },
                    "text_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *text_parse_mode*. Entities other than \"bold\", \"italic\", \"underline\", \"strikethrough\", \"spoiler\", \"custom_emoji\", and \"date_time\" are ignored.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    }
                }
            },
            "GetBusinessAccountGiftsParams": {
                "type": "object",
                "description": "The parameters of getBusinessAccountGifts.",
                "required": [
                    "business_connection_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "exclude_unsaved": {
                        "description": "Pass *True* to exclude gifts that aren't saved to the account's profile page",
                        "type": "boolean"
                    },
                    "exclude_saved": {
                        "description": "Pass *True* to exclude gifts that are saved to the account's profile page",
                        "type": "boolean"
                    },
                    "exclude_unlimited": {
                        "description": "Pass *True* to exclude gifts that can be purchased an unlimited number of times",
                        "type": "boolean"
                    },
                    "exclude_limited_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_limited_non_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_unique": {
                        "description": "Pass *True* to exclude unique gifts",
                        "type": "boolean"
                    },
                    "exclude_from_blockchain": {
                        "description": "Pass *True* to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram",
                        "type": "boolean"
                    },
                    "sort_by_price": {
                        "description": "Pass *True* to sort results by gift price instead of send date. Sorting is applied before pagination.",
                        "type": "boolean"
                    },
                    "offset": {
                        "description": "Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results",
                        "type": "string"
                    },
                    "limit": {
                        "description": "The maximum number of gifts to be returned, 1-100, defaults to 100",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "GetUserGiftsParams": {
                "type": "object",
                "description": "The parameters of getUserGifts.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the user",
                        "type": "integer"
                    },
                    "exclude_unlimited": {
                        "description": "Pass *True* to exclude gifts that can be purchased an unlimited number of times",
                        "type": "boolean"
                    },
                    "exclude_limited_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_limited_non_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_unique": {
                        "description": "Pass *True* to exclude unique gifts",
                        "type": "boolean"
                    },
                    "exclude_from_blockchain": {
                        "description": "Pass *True* to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram",
                        "type": "boolean"
                    },
                    "sort_by_price": {
                        "description": "Pass *True* to sort results by gift price instead of send date. Sorting is applied before pagination.",
                        "type": "boolean"
                    },
                    "offset": {
                        "description": "Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results",
                        "type": "string"
                    },
                    "limit": {
                        "description": "The maximum number of gifts to be returned, 1-100, defaults to 100",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "GetChatGiftsParams": {
                "type": "object",
                "description": "The parameters of getChatGifts.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "exclude_unsaved": {
                        "description": "Pass *True* to exclude gifts that aren't saved to the chat's profile page. Always *True*, unless the bot has the *can_post_messages* administrator right in the channel.",
                        "type": "boolean"
                    },
                    "exclude_saved": {
                        "description": "Pass *True* to exclude gifts that are saved to the chat's profile page. Always *False*, unless the bot has the *can_post_messages* administrator right in the channel.",
                        "type": "boolean"
                    },
                    "exclude_unlimited": {
                        "description": "Pass *True* to exclude gifts that can be purchased an unlimited number of times",
                        "type": "boolean"
                    },
                    "exclude_limited_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_limited_non_upgradable": {
                        "description": "Pass *True* to exclude gifts that can be purchased a limited number of times and can't be upgraded to unique",
                        "type": "boolean"
                    },
                    "exclude_unique": {
                        "description": "Pass *True* to exclude unique gifts",
                        "type": "boolean"
                    },
                    "exclude_from_blockchain": {
                        "description": "Pass *True* to exclude gifts that were assigned from the TON blockchain and can't be resold or transferred in Telegram",
                        "type": "boolean"
                    },
                    "sort_by_price": {
                        "description": "Pass *True* to sort results by gift price instead of send date. Sorting is applied before pagination.",
                        "type": "boolean"
                    },
                    "offset": {
                        "description": "Offset of the first entry to return as received from the previous request; use an empty string to get the first chunk of results",
                        "type": "string"
                    },
                    "limit": {
                        "description": "The maximum number of gifts to be returned, 1-100, defaults to 100",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "ConvertGiftToStarsParams": {
                "type": "object",
                "description": "The parameters of convertGiftToStars.",
                "required": [
                    "business_connection_id",
                    "owned_gift_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the regular gift that should be converted to Telegram Stars",
                        "type": "string"
                    }
                }
            },
            "UpgradeGiftParams": {
                "type": "object",
                "description": "The parameters of upgradeGift.",
                "required": [
                    "business_connection_id",
                    "owned_gift_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the regular gift that should be upgraded to a unique one",
                        "type": "string"
                    },
                    "keep_original_details": {
                        "description": "Pass *True* to keep the original gift text, sender and receiver in the upgraded gift",
                        "type": "boolean"
                    },
                    "star_count": {
                        "description": "The amount of Telegram Stars that will be paid for the upgrade from the business account balance. If `gift.prepaid_upgrade_star_count > 0`, then pass 0, otherwise, the *can_transfer_stars* business bot right is required and `gift.upgrade_star_count` must be passed.",
                        "type": "integer"
                    }
                }
            },
            "TransferGiftParams": {
                "type": "object",
                "description": "The parameters of transferGift.",
                "required": [
                    "business_connection_id",
                    "owned_gift_id",
                    "new_owner_chat_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection",
                        "type": "string"
                    },
                    "owned_gift_id": {
                        "description": "Unique identifier of the regular gift that should be transferred",
                        "type": "string"
                    },
                    "new_owner_chat_id": {
                        "description": "Unique identifier of the chat which will own the gift. The chat must be active in the last 24 hours.",
                        "type": "integer"
                    },
                    "star_count": {
                        "description": "The amount of Telegram Stars that will be paid for the transfer from the business account balance. If positive, then the *can_transfer_stars* business bot right is required.",
                        "type": "integer"
                    }
                }
            },
            "AnswerWebAppQueryParams": {
                "type": "object",
                "description": "The parameters of answerWebAppQuery.",
                "required": [
                    "web_app_query_id",
                    "result"
                ],
                "properties": {
                    "web_app_query_id": {
                        "description": "Unique identifier for the query to be answered",
                        "type": "string"
                    },
                    "result": {
                        "description": "A JSON-serialized object describing the message to be sent",
                        "$ref": "#/components/schemas/InlineQueryResult"
                    }
                }
            },
            "AnswerGuestQueryParams": {
                "type": "object",
                "description": "The parameters of answerGuestQuery.",
                "required": [
                    "guest_query_id",
                    "result"
                ],
                "properties": {
                    "guest_query_id": {
                        "description": "Unique identifier for the query to be answered",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "result": {
                        "description": "A JSON-serialized object describing the message to be sent",
                        "$ref": "#/components/schemas/InlineQueryResult"
                    }
                }
            },
            "AnswerInlineQueryParams": {
                "type": "object",
                "description": "The parameters of answerInlineQuery.",
                "required": [
                    "inline_query_id",
                    "results"
                ],
                "properties": {
                    "inline_query_id": {
                        "description": "Unique identifier for the answered query",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "is_personal": {
                        "description": "Pass *True* if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query.",
                        "type": "boolean"
                    },
                    "cache_time": {
                        "description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.",
                        "type": "integer",
                        "default": 300
                    },
                    "next_offset": {
                        "description": "Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.",
                        "type": "string"
                    },
                    "button": {
                        "description": "A JSON-serialized object describing a button to be shown above inline query results",
                        "$ref": "#/components/schemas/InlineQueryResultsButton"
                    },
                    "results": {
                        "description": "A JSON-serialized Array of results for the inline query",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InlineQueryResult"
                        }
                    }
                }
            },
            "AnswerChatJoinRequestQueryParams": {
                "type": "object",
                "description": "The parameters of answerChatJoinRequestQuery.",
                "required": [
                    "chat_join_request_query_id",
                    "result"
                ],
                "properties": {
                    "chat_join_request_query_id": {
                        "description": "Unique identifier of the join request query",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "result": {
                        "description": "Result of the query. Must be either \"approve\" to allow the user to join the chat, \"decline\" to disallow the user to join the chat, or \"queue\" to leave the decision to other administrators.",
                        "type": "string"
                    }
                }
            },
            "SendChatJoinRequestWebAppParams": {
                "type": "object",
                "description": "The parameters of sendChatJoinRequestWebApp.",
                "required": [
                    "chat_join_request_query_id",
                    "web_app_url"
                ],
                "properties": {
                    "chat_join_request_query_id": {
                        "description": "Unique identifier of the join request query",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "web_app_url": {
                        "description": "An HTTPS URL of a Web App to be opened with additional data as specified in [Initializing Web Apps](https://core.telegram.org/bots/webapps#initializing-mini-apps)",
                        "type": "string"
                    }
                }
            },
            "SavePreparedInlineMessageParams": {
                "type": "object",
                "description": "The parameters of savePreparedInlineMessage.",
                "required": [
                    "user_id",
                    "result"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user that can use the prepared message",
                        "type": "integer"
                    },
                    "result": {
                        "description": "A JSON-serialized object describing the message to be sent",
                        "$ref": "#/components/schemas/InlineQueryResult"
                    },
                    "allow_user_chats": {
                        "description": "Pass *True* if the message can be sent to private chats with users",
                        "type": "boolean"
                    },
                    "allow_bot_chats": {
                        "description": "Pass *True* if the message can be sent to private chats with bots",
                        "type": "boolean"
                    },
                    "allow_group_chats": {
                        "description": "Pass *True* if the message can be sent to group and supergroup chats",
                        "type": "boolean"
                    },
                    "allow_channel_chats": {
                        "description": "Pass *True* if the message can be sent to channel chats",
                        "type": "boolean"
                    }
                }
            },
            "SavePreparedKeyboardButtonParams": {
                "type": "object",
                "description": "The parameters of savePreparedKeyboardButton.",
                "required": [
                    "user_id",
                    "button"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user that can use the button",
                        "type": "integer"
                    },
                    "button": {
                        "description": "A JSON-serialized object describing the button to be saved. The button must be of the type *request_users*, *request_chat*, or *request_managed_bot*.",
                        "$ref": "#/components/schemas/KeyboardButton"
                    }
                }
            },
            "AnswerCallbackQueryParams": {
                "type": "object",
                "description": "The parameters of answerCallbackQuery.",
                "required": [
                    "callback_query_id"
                ],
                "properties": {
                    "callback_query_id": {
                        "description": "Unique identifier for the query to be answered",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "text": {
                        "description": "Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters.",
                        "type": "string",
                        "maxLength": 200
                    },
                    "show_alert": {
                        "description": "If *True*, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to *False*.",
                        "type": "boolean"
                    },
                    "url": {
                        "description": "URL that will be opened by the user's client. If you have created a [Game](https://core.telegram.org/bots/api#game) and accepted the conditions via [@BotFather](https://t.me/botfather), specify the URL that opens your game - note that this will only work if the query comes from a [*callback_game*](https://core.telegram.org/bots/api#inlinekeyboardbutton) button.\n\nOtherwise, you may use links like `t.me/your_bot?start=XXXX` that open your bot with a parameter.",
                        "type": "string"
                    },
                    "cache_time": {
                        "description": "The maximum amount of time in seconds that the result of the callback query may be cached client-side. Defaults to 0.",
                        "type": "integer",
                        "default": 0
                    }
                }
            },
            "SendAnimationParams": {
                "type": "object",
                "description": "The parameters of sendAnimation.",
                "required": [
                    "animation",
                    "chat_id"
                ],
                "properties": {
                    "animation": {
                        "description": "Animation to send. Pass a file_id as String to send an animation that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an animation from the Internet, or upload a new animation using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "duration": {
                        "description": "Duration of sent animation in seconds",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Animation width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Animation height",
                        "type": "integer"
                    },
                    "caption": {
                        "description": "Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the animation needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendAudioParams": {
                "type": "object",
                "description": "The parameters of sendAudio.",
                "required": [
                    "audio",
                    "chat_id"
                ],
                "properties": {
                    "audio": {
                        "description": "Audio file to send. Pass a file_id as String to send an audio file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get an audio file from the Internet, or upload a new one using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "duration": {
                        "description": "Duration of the audio in seconds",
                        "type": "integer"
                    },
                    "title": {
                        "description": "Track name",
                        "type": "string"
                    },
                    "performer": {
                        "description": "Performer",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Audio caption, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendDocumentParams": {
                "type": "object",
                "description": "The parameters of sendDocument.",
                "required": [
                    "document",
                    "chat_id"
                ],
                "properties": {
                    "document": {
                        "description": "File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "disable_content_type_detection": {
                        "description": "Disables automatic server-side content type detection for files uploaded using multipart/form-data",
                        "type": "boolean"
                    },
                    "caption": {
                        "description": "Document caption (may also be used when resending documents by *file_id*), 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendLivePhotoParams": {
                "type": "object",
                "description": "The parameters of sendLivePhoto.",
                "required": [
                    "live_photo",
                    "photo",
                    "chat_id"
                ],
                "properties": {
                    "live_photo": {
                        "description": "Live photo video to send. The video must be no longer than 10 seconds and must not exceed 10 MB in size. Pass a file_id as String to send a video that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "photo": {
                        "description": "The static photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending live photos by a URL is currently unsupported.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "caption": {
                        "description": "Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the video needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendPhotoParams": {
                "type": "object",
                "description": "The parameters of sendPhoto.",
                "required": [
                    "photo",
                    "chat_id"
                ],
                "properties": {
                    "photo": {
                        "description": "Photo to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a photo from the Internet, or upload a new photo using multipart/form-data. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "caption": {
                        "description": "Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the photo needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendVideoParams": {
                "type": "object",
                "description": "The parameters of sendVideo.",
                "required": [
                    "video",
                    "chat_id"
                ],
                "properties": {
                    "video": {
                        "description": "Video to send. Pass a file_id as String to send a video that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a video from the Internet, or upload a new video using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "duration": {
                        "description": "Duration of sent video in seconds",
                        "type": "integer"
                    },
                    "width": {
                        "description": "Video width",
                        "type": "integer"
                    },
                    "height": {
                        "description": "Video height",
                        "type": "integer"
                    },
                    "cover": {
                        "description": "Cover for the video in the message. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass \"attach://&lt;file_attach_name&gt;\" to upload a new one using multipart/form-data under &lt;file_attach_name&gt; name. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "start_timestamp": {
                        "description": "Start timestamp for the video in the message",
                        "type": "integer"
                    },
                    "supports_streaming": {
                        "description": "Pass *True* if the uploaded video is suitable for streaming",
                        "type": "boolean"
                    },
                    "caption": {
                        "description": "Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "has_spoiler": {
                        "description": "Pass *True* if the video needs to be covered with a spoiler animation",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendVideoNoteParams": {
                "type": "object",
                "description": "The parameters of sendVideoNote.",
                "required": [
                    "video_note",
                    "chat_id"
                ],
                "properties": {
                    "video_note": {
                        "description": "Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Sending video notes by a URL is currently unsupported.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "thumbnail": {
                        "description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass \"attach://&lt;file_attach_name&gt;\" if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "duration": {
                        "description": "Duration of sent video in seconds",
                        "type": "integer"
                    },
                    "length": {
                        "description": "Video width and height, i.e. diameter of the video message",
                        "type": "integer"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendVoiceParams": {
                "type": "object",
                "description": "The parameters of sendVoice.",
                "required": [
                    "voice",
                    "chat_id"
                ],
                "properties": {
                    "voice": {
                        "description": "Audio file to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "duration": {
                        "description": "Duration of the voice message in seconds",
                        "type": "integer"
                    },
                    "caption": {
                        "description": "Voice message caption, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendPaidMediaParams": {
                "type": "object",
                "description": "The parameters of sendPaidMedia.",
                "required": [
                    "star_count",
                    "media",
                    "chat_id"
                ],
                "properties": {
                    "star_count": {
                        "description": "The number of Telegram Stars that must be paid to buy access to the media, 1-25000",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 25000
                    },
                    "media": {
                        "description": "A JSON-serialized Array describing the media to be sent, at most 10 elements",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputPaidMedia"
                        },
                        "maxItems": 10
                    },
                    "payload": {
                        "description": "Bot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.",
                        "type": "string"
                    },
                    "caption": {
                        "description": "Media caption, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "show_caption_above_media": {
                        "description": "Pass *True* if the caption must be shown above the message media",
                        "type": "boolean"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`. If the chat is a channel, all Telegram Star proceeds from this media will be credited to the chat's balance. Otherwise, they will be credited to the bot's balance.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendMediaGroupParams": {
                "type": "object",
                "description": "The parameters of sendMediaGroup.",
                "required": [
                    "media",
                    "chat_id"
                ],
                "properties": {
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "disable_notification": {
                        "description": "Sends messages [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent messages from forwarding and saving",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "media": {
                        "description": "A JSON-serialized Array describing messages to be sent, 2-10 elements",
                        "type": "array",
                        "items": {
                            "oneOf": [
                                {
                                    "$ref": "#/components/schemas/InputMediaAudio"
                                },
                                {
                                    "$ref": "#/components/schemas/InputMediaDocument"
                                },
                                {
                                    "$ref": "#/components/schemas/InputMediaLivePhoto"
                                },
                                {
                                    "$ref": "#/components/schemas/InputMediaPhoto"
                                },
                                {
                                    "$ref": "#/components/schemas/InputMediaVideo"
                                }
                            ]
                        },
                        "minItems": 2,
                        "maxItems": 10
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the messages will be sent; required if the messages are sent to a direct messages chat",
                        "type": "integer"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    }
                }
            },
            "GetFileParams": {
                "type": "object",
                "description": "The parameters of getFile.",
                "required": [
                    "file_id"
                ],
                "properties": {
                    "file_id": {
                        "description": "File identifier to get information about",
                        "type": "string"
                    }
                }
            },
            "SendMessageParams": {
                "type": "object",
                "description": "The parameters of sendMessage.",
                "required": [
                    "text",
                    "chat_id"
                ],
                "properties": {
                    "link_preview_options": {
                        "description": "Link preview generation options for the message",
                        "$ref": "#/components/schemas/LinkPreviewOptionsInput"
                    },
                    "text": {
                        "description": "Text of the message to be sent, 1-4096 characters after entities parsing",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4096
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendRichMessageParams": {
                "type": "object",
                "description": "The parameters of sendRichMessage.",
                "required": [
                    "rich_message",
                    "chat_id"
                ],
                "properties": {
                    "rich_message": {
                        "description": "The message to be sent",
                        "$ref": "#/components/schemas/InputRichMessage"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent. Bot can send rich messages on behalf of a business account only if the corresponding user can send rich messages.",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendDiceParams": {
                "type": "object",
                "description": "The parameters of sendDice.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "emoji": {
                        "description": "Emoji on which the dice throw animation is based. Currently, must be one of \"🎲\", \"🎯\", \"🏀\", \"⚽\", \"🎳\", or \"🎰\". Dice can have values 1-6 for \"🎲\", \"🎯\" and \"🎳\", values 1-5 for \"🏀\" and \"⚽\", and values 1-64 for \"🎰\". Defaults to \"🎲\".",
                        "type": "string",
                        "enum": [
                            "🎲",
                            "🎯",
                            "🏀",
                            "⚽",
                            "🎳",
                            "🎰"
                        ],
                        "default": "🎲"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendLocationParams": {
                "type": "object",
                "description": "The parameters of sendLocation.",
                "required": [
                    "latitude",
                    "longitude",
                    "chat_id"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude of the location",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the location",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters, 0-1500",
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1500
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    },
                    "live_period": {
                        "description": "Period in seconds during which the location will be updated (see [Live Locations](https://telegram.org/blog/live-locations)), must be between 60 and 86400, or 0x7FFFFFFF for live locations that can be edited indefinitely. Must be 0 for ephemeral messages.",
                        "type": "integer"
                    },
                    "heading": {
                        "description": "For live locations, a direction in which the user is moving, in degrees. Values between 1-360 are accepted.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 360
                    },
                    "proximity_alert_radius": {
                        "description": "For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Values between 1-100000 are accepted.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100000
                    }
                }
            },
            "SendVenueParams": {
                "type": "object",
                "description": "The parameters of sendVenue.",
                "required": [
                    "latitude",
                    "longitude",
                    "title",
                    "address",
                    "chat_id"
                ],
                "properties": {
                    "latitude": {
                        "description": "Latitude of the venue",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the venue",
                        "type": "number"
                    },
                    "horizontal_accuracy": {
                        "description": "The radius of uncertainty for the location, measured in meters, 0-1500",
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1500
                    },
                    "title": {
                        "description": "Name of the venue",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address of the venue",
                        "type": "string"
                    },
                    "foursquare_id": {
                        "description": "Foursquare identifier of the venue",
                        "type": "string"
                    },
                    "google_place_id": {
                        "description": "Google Places identifier of the venue",
                        "type": "string"
                    },
                    "foursquare_type": {
                        "description": "Foursquare type of the venue, if known. (For example, \"arts_entertainment/default\", \"arts_entertainment/aquarium\" or \"food/icecream\".)",
                        "type": "string"
                    },
                    "google_place_type": {
                        "description": "Google Places type of the venue. (See [supported types](https://developers.google.com/places/web-service/supported_types).)",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendContactParams": {
                "type": "object",
                "description": "The parameters of sendContact.",
                "required": [
                    "phone_number",
                    "first_name",
                    "chat_id"
                ],
                "properties": {
                    "phone_number": {
                        "description": "Contact's phone number",
                        "type": "string"
                    },
                    "first_name": {
                        "description": "Contact's first name",
                        "type": "string"
                    },
                    "last_name": {
                        "description": "Contact's last name",
                        "type": "string"
                    },
                    "vcard": {
                        "description": "Additional data about the contact in the form of a [vCard](https://en.wikipedia.org/wiki/VCard), 0-2048 bytes",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendPollParams": {
                "type": "object",
                "description": "The parameters of sendPoll.",
                "required": [
                    "question",
                    "options",
                    "chat_id"
                ],
                "properties": {
                    "question": {
                        "description": "Poll question, 1-300 characters after entities parsing",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 300
                    },
                    "question_parse_mode": {
                        "description": "Mode for parsing entities in the question. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Currently, only custom emoji entities are allowed.",
                        "type": "string"
                    },
                    "question_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the question, which can be specified instead of *question_parse_mode*. Currently, only custom emoji entities are allowed.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "options": {
                        "description": "A JSON-serialized list of answer options, 1-12 elements",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputPollOption"
                        },
                        "minItems": 1,
                        "maxItems": 12
                    },
                    "description": {
                        "description": "Description of the poll to be sent, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "description_parse_mode": {
                        "description": "Mode for parsing entities in the description. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "description_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the description, which can be specified instead of *description_parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "is_anonymous": {
                        "description": "*True*, if the poll needs to be anonymous, defaults to *True*",
                        "type": "boolean",
                        "default": true
                    },
                    "allows_multiple_answers": {
                        "description": "Pass *True* if the poll allows multiple answers, defaults to *False*",
                        "type": "boolean"
                    },
                    "type": {
                        "description": "Poll type, must be one of \"quiz\" or \"regular\", defaults to \"regular\"",
                        "type": "string",
                        "enum": [
                            "quiz",
                            "regular"
                        ],
                        "default": "regular"
                    },
                    "explanation": {
                        "description": "Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters after entities parsing, with at most 2 line feeds",
                        "type": "string",
                        "maxLength": 200
                    },
                    "explanation_parse_mode": {
                        "description": "Mode for parsing entities in the explanation. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "explanation_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the explanation, which can be specified instead of *explanation_parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "explanation_media": {
                        "description": "Media added to the quiz explanation",
                        "$ref": "#/components/schemas/InputPollMedia"
                    },
                    "correct_option_ids": {
                        "description": "A JSON-serialized list of monotonically increasing 0-based identifiers of the correct answer options, required for polls in quiz mode",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "allow_adding_options": {
                        "description": "Pass *True* if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes",
                        "type": "boolean"
                    },
                    "allows_revoting": {
                        "description": "Pass *True* if the poll allows to change chosen answer options, defaults to *False* for quizzes and to *True* for regular polls",
                        "type": "boolean"
                    },
                    "open_period": {
                        "description": "Amount of time in seconds the poll will be active after creation, 5-2628000. Can't be used together with *close_date*.",
                        "type": "integer",
                        "minimum": 5,
                        "maximum": 2628000
                    },
                    "close_date": {
                        "description": "Point in time (Unix timestamp) when the poll will be automatically closed. Must be at least 5 and no more than 2628000 seconds in the future. Can't be used together with *open_period*.",
                        "type": "integer"
                    },
                    "is_closed": {
                        "description": "Pass *True* if the poll needs to be immediately closed. This can be useful for poll preview.",
                        "type": "boolean"
                    },
                    "shuffle_options": {
                        "description": "Pass *True* if the poll options must be shown in random order",
                        "type": "boolean"
                    },
                    "hide_results_until_closes": {
                        "description": "Pass *True* if poll results must be shown only after the poll closes",
                        "type": "boolean"
                    },
                    "members_only": {
                        "description": "Pass *True* if voting is limited to users who have been members of the chat where the poll is being sent for more than 24 hours; for channel chats only",
                        "type": "boolean"
                    },
                    "country_codes": {
                        "description": "A JSON-serialized list of two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes indicating the countries from which users can vote in the poll; for channel chats only. Use \"FT\" as a country code to allow users with anonymous numbers to vote. If omitted or empty, then users from any country can participate in the poll. Must have at most 12 elements.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 12
                    },
                    "media": {
                        "description": "Media added to the poll description",
                        "$ref": "#/components/schemas/InputPollMedia"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`. Polls can't be sent to channel direct messages chats.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "SendChecklistParams": {
                "type": "object",
                "description": "The parameters of sendChecklist.",
                "required": [
                    "checklist",
                    "chat_id",
                    "business_connection_id"
                ],
                "properties": {
                    "checklist": {
                        "description": "A JSON-serialized object for the checklist to send",
                        "$ref": "#/components/schemas/InputChecklist"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "SendChatActionParams": {
                "type": "object",
                "description": "The parameters of sendChatAction.",
                "required": [
                    "action",
                    "chat_id"
                ],
                "properties": {
                    "action": {
                        "description": "Type of action to broadcast, must be one of \"cancel\", \"typing\", \"record_video\", \"upload_video\", \"record_audio\", \"record_voice\", \"upload_audio\", \"upload_voice\", \"upload_photo\", \"upload_document\", \"choose_sticker\", \"pick_up_location\", \"find_location\", \"record_video_note\", or \"upload_video_note\". Choose one, depending on what the user is about to receive: *typing* for [text messages](https://core.telegram.org/bots/api#sendmessage), *upload_photo* for [photos](https://core.telegram.org/bots/api#sendphoto), *record_video* or *upload_video* for [videos](https://core.telegram.org/bots/api#sendvideo), *record_voice* or *upload_voice* for [voice notes](https://core.telegram.org/bots/api#sendvoice), *upload_document* for [general files](https://core.telegram.org/bots/api#senddocument), *choose_sticker* for [stickers](https://core.telegram.org/bots/api#sendsticker), *find_location* for [location data](https://core.telegram.org/bots/api#sendlocation), *record_video_note* or *upload_video_note* for [video notes](https://core.telegram.org/bots/api#sendvideonote).",
                        "type": "string",
                        "enum": [
                            "cancel",
                            "typing",
                            "record_video",
                            "upload_video",
                            "record_audio",
                            "record_voice",
                            "upload_audio",
                            "upload_voice",
                            "upload_photo",
                            "upload_document",
                            "choose_sticker",
                            "pick_up_location",
                            "find_location",
                            "record_video_note",
                            "upload_video_note"
                        ]
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the action will be sent",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot or supergroup in the format `@username`. Channel chats and channel direct messages chats aren't supported.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread or topic of a forum; for supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    }
                }
            },
            "SendMessageDraftParams": {
                "type": "object",
                "description": "The parameters of sendMessageDraft.",
                "required": [
                    "chat_id",
                    "draft_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target private chat",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread",
                        "type": "integer"
                    },
                    "draft_id": {
                        "description": "Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated. Otherwise, the draft is replaced without animation.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "can_stop": {
                        "description": "Pass *True* to show the user a button to stop further drafts. The bot will receive an [Update](https://core.telegram.org/bots/api#update) \"stopped_message_generation\" if the user presses the button.",
                        "type": "boolean"
                    },
                    "keep_on_stop": {
                        "description": "Pass *True* to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.",
                        "type": "boolean"
                    },
                    "text": {
                        "description": "Text of the message to be sent, 0-4096 characters after entities parsing. Pass an empty text to show a \"Thinking...\" placeholder.",
                        "type": "string",
                        "maxLength": 4096
                    },
                    "parse_mode": {
                        "description": "Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "entities": {
                        "description": "A JSON-serialized list of special entities that appear in the text, which can be specified instead of *parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    }
                }
            },
            "SendRichMessageDraftParams": {
                "type": "object",
                "description": "The parameters of sendRichMessageDraft.",
                "required": [
                    "chat_id",
                    "draft_id",
                    "rich_message"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target private chat",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread",
                        "type": "integer"
                    },
                    "draft_id": {
                        "description": "Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated. Otherwise, the draft is replaced without animation.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "can_stop": {
                        "description": "Pass *True* to show the user a button to stop further drafts. The bot will receive an [Update](https://core.telegram.org/bots/api#update) \"stopped_message_generation\" if the user presses the button.",
                        "type": "boolean"
                    },
                    "keep_on_stop": {
                        "description": "Pass *True* to keep the draft in the chat when the button is pressed. The draft will still disappear after a short time or if the bot sends a message. To fully preserve the partial draft, the bot should send it as a new message.",
                        "type": "boolean"
                    },
                    "rich_message": {
                        "description": "The partial message to be streamed. Direct upload of new files and explicit upload of files by a URL isn't supported.",
                        "$ref": "#/components/schemas/InputRichMessage"
                    }
                }
            },
            "SetMessageReactionParams": {
                "type": "object",
                "description": "The parameters of setMessageReaction.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.",
                        "type": "integer"
                    },
                    "reaction": {
                        "description": "A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ReactionType"
                        }
                    },
                    "is_big": {
                        "description": "Pass *True* to set the reaction with a big animation",
                        "type": "boolean"
                    }
                }
            },
            "GetUserPersonalChatMessagesParams": {
                "type": "object",
                "description": "The parameters of getUserPersonalChatMessages.",
                "required": [
                    "user_id",
                    "limit"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier for the target user",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "The maximum number of messages to return, 1-20",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 20
                    }
                }
            },
            "SetPassportDataErrorsParams": {
                "type": "object",
                "description": "The parameters of setPassportDataErrors.",
                "required": [
                    "user_id",
                    "errors"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier",
                        "type": "integer"
                    },
                    "errors": {
                        "description": "A JSON-serialized Array describing the errors",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PassportElementError"
                        }
                    }
                }
            },
            "SendInvoiceParams": {
                "type": "object",
                "description": "The parameters of sendInvoice.",
                "required": [
                    "title",
                    "description",
                    "payload",
                    "currency",
                    "prices",
                    "chat_id"
                ],
                "properties": {
                    "title": {
                        "description": "Product name, 1-32 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                    },
                    "description": {
                        "description": "Product description, 1-255 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255
                    },
                    "payload": {
                        "description": "Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.",
                        "type": "string"
                    },
                    "provider_token": {
                        "description": "Payment provider token, obtained via [@BotFather](https://t.me/botfather). Pass an empty string for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "provider_data": {
                        "description": "JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.",
                        "type": "string"
                    },
                    "start_parameter": {
                        "description": "Unique deep-linking parameter. If left empty, **forwarded copies** of the sent message will have a *Pay* button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a *URL* button with a deep link to the bot (instead of a *Pay* button), with the value used as the start parameter.",
                        "type": "string"
                    },
                    "currency": {
                        "description": "Three-letter ISO 4217 currency code, see [more on currencies](https://core.telegram.org/bots/payments#supported-currencies). Pass \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "prices": {
                        "description": "Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LabeledPrice"
                        }
                    },
                    "max_tip_amount": {
                        "description": "The maximum accepted amount for tips in the *smallest units* of the currency (integer, **not** float/double). For example, for a maximum tip of `US$ 1.45` pass `max_tip_amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "integer"
                    },
                    "suggested_tip_amounts": {
                        "description": "A JSON-serialized Array of suggested amounts of tips in the *smallest units* of the currency (integer, **not** float/double). Must have at most 4 elements. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed *max_tip_amount*.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "maxItems": 4
                    },
                    "subscription_period": {
                        "description": "The number of seconds the subscription will be active for before the next payment. The currency must be set to \"XTR\" (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars.",
                        "type": "integer"
                    },
                    "need_name": {
                        "description": "Pass *True* if you require the user's full name to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_phone_number": {
                        "description": "Pass *True* if you require the user's phone number to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_email": {
                        "description": "Pass *True* if you require the user's email address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_shipping_address": {
                        "description": "Pass *True* if you require the user's shipping address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_phone_number_to_provider": {
                        "description": "Pass *True* if the user's phone number should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_email_to_provider": {
                        "description": "Pass *True* if the user's email address should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "is_flexible": {
                        "description": "Pass *True* if the final price depends on the shipping method. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "photo_url": {
                        "description": "URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for.",
                        "type": "string"
                    },
                    "photo_size": {
                        "description": "Photo size in bytes",
                        "type": "integer"
                    },
                    "photo_width": {
                        "description": "Photo width",
                        "type": "integer"
                    },
                    "photo_height": {
                        "description": "Photo height",
                        "type": "integer"
                    },
                    "paid_media_caption": {
                        "description": "Caption of the paid media, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "paid_media_caption_parse_mode": {
                        "description": "Mode for parsing entities in the paid media caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "paid_media_caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the paid media caption, which can be specified instead of *paid_media_caption_parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards). If empty, one 'Pay `total price`' button will be shown. If not empty, the first button must be a Pay button.",
                        "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                    }
                }
            },
            "CreateInvoiceLinkParams": {
                "type": "object",
                "description": "The parameters of createInvoiceLink.",
                "required": [
                    "title",
                    "description",
                    "payload",
                    "currency",
                    "prices"
                ],
                "properties": {
                    "title": {
                        "description": "Product name, 1-32 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                    },
                    "description": {
                        "description": "Product description, 1-255 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 255
                    },
                    "payload": {
                        "description": "Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use it for your internal processes.",
                        "type": "string"
                    },
                    "provider_token": {
                        "description": "Payment provider token, obtained via [@BotFather](https://t.me/botfather). Pass an empty string for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "provider_data": {
                        "description": "JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider.",
                        "type": "string"
                    },
                    "start_parameter": {
                        "description": "Unique deep-linking parameter. If left empty, **forwarded copies** of the sent message will have a *Pay* button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a *URL* button with a deep link to the bot (instead of a *Pay* button), with the value used as the start parameter.",
                        "type": "string"
                    },
                    "currency": {
                        "description": "Three-letter ISO 4217 currency code, see [more on currencies](https://core.telegram.org/bots/payments#supported-currencies). Pass \"XTR\" for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "string"
                    },
                    "prices": {
                        "description": "Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LabeledPrice"
                        }
                    },
                    "max_tip_amount": {
                        "description": "The maximum accepted amount for tips in the *smallest units* of the currency (integer, **not** float/double). For example, for a maximum tip of `US$ 1.45` pass `max_tip_amount = 145`. See the *exp* parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "integer"
                    },
                    "suggested_tip_amounts": {
                        "description": "A JSON-serialized Array of suggested amounts of tips in the *smallest units* of the currency (integer, **not** float/double). Must have at most 4 elements. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed *max_tip_amount*.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "maxItems": 4
                    },
                    "subscription_period": {
                        "description": "The number of seconds the subscription will be active for before the next payment. The currency must be set to \"XTR\" (Telegram Stars) if the parameter is used. Currently, it must always be 2592000 (30 days) if specified. Any number of subscriptions can be active for a given bot at the same time, including multiple concurrent subscriptions from the same user. Subscription price must no exceed 10000 Telegram Stars.",
                        "type": "integer"
                    },
                    "need_name": {
                        "description": "Pass *True* if you require the user's full name to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_phone_number": {
                        "description": "Pass *True* if you require the user's phone number to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_email": {
                        "description": "Pass *True* if you require the user's email address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "need_shipping_address": {
                        "description": "Pass *True* if you require the user's shipping address to complete the order. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_phone_number_to_provider": {
                        "description": "Pass *True* if the user's phone number should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "send_email_to_provider": {
                        "description": "Pass *True* if the user's email address should be sent to the provider. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "is_flexible": {
                        "description": "Pass *True* if the final price depends on the shipping method. Ignored for payments in [Telegram Stars](https://t.me/BotNews/90).",
                        "type": "boolean"
                    },
                    "photo_url": {
                        "description": "URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service.",
                        "type": "string"
                    },
                    "photo_size": {
                        "description": "Photo size in bytes",
                        "type": "integer"
                    },
                    "photo_width": {
                        "description": "Photo width",
                        "type": "integer"
                    },
                    "photo_height": {
                        "description": "Photo height",
                        "type": "integer"
                    },
                    "paid_media_caption": {
                        "description": "Caption of the paid media, 0-1024 characters after entities parsing",
                        "type": "string",
                        "maxLength": 1024
                    },
                    "paid_media_caption_parse_mode": {
                        "description": "Mode for parsing entities in the paid media caption. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.",
                        "type": "string"
                    },
                    "paid_media_caption_entities": {
                        "description": "A JSON-serialized list of special entities that appear in the paid media caption, which can be specified instead of *paid_media_caption_parse_mode*",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MessageEntityInput"
                        }
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the link will be created. For payments in [Telegram Stars](https://t.me/BotNews/90) only.",
                        "type": "string"
                    }
                }
            },
            "GetStarTransactionsParams": {
                "type": "object",
                "description": "The parameters of getStarTransactions.",
                "properties": {
                    "offset": {
                        "description": "Number of transactions to skip in the response",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "The maximum number of transactions to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "RefundStarPaymentParams": {
                "type": "object",
                "description": "The parameters of refundStarPayment.",
                "required": [
                    "user_id",
                    "telegram_payment_charge_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Identifier of the user whose payment will be refunded",
                        "type": "integer"
                    },
                    "telegram_payment_charge_id": {
                        "description": "Telegram payment identifier",
                        "type": "string"
                    }
                }
            },
            "EditUserStarSubscriptionParams": {
                "type": "object",
                "description": "The parameters of editUserStarSubscription.",
                "required": [
                    "user_id",
                    "telegram_payment_charge_id",
                    "is_canceled"
                ],
                "properties": {
                    "user_id": {
                        "description": "Identifier of the user whose subscription will be edited",
                        "type": "integer"
                    },
                    "telegram_payment_charge_id": {
                        "description": "Telegram payment identifier for the subscription",
                        "type": "string"
                    },
                    "is_canceled": {
                        "description": "Pass *True* to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass *False* to allow the user to re-enable a subscription that was previously canceled by the bot.",
                        "type": "boolean"
                    }
                }
            },
            "AnswerShippingQueryParams": {
                "type": "object",
                "description": "The parameters of answerShippingQuery.",
                "required": [
                    "shipping_query_id",
                    "ok"
                ],
                "properties": {
                    "shipping_query_id": {
                        "description": "Unique identifier for the query to be answered",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "ok": {
                        "description": "Pass *True* if delivery to the specified address is possible and *False* if there are any problems (for example, if delivery to the specified address is not possible)",
                        "type": "boolean"
                    },
                    "shipping_options": {
                        "description": "Required if *ok* is *True*. A JSON-serialized Array of available shipping options.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ShippingOption"
                        }
                    },
                    "error_message": {
                        "description": "Required if *ok* is *False*. Error message in human readable form that explains why it is impossible to complete the order (e.g. \"Sorry, delivery to your desired address is unavailable\"). Telegram will display this message to the user.",
                        "type": "string"
                    }
                }
            },
            "AnswerPreCheckoutQueryParams": {
                "type": "object",
                "description": "The parameters of answerPreCheckoutQuery.",
                "required": [
                    "pre_checkout_query_id",
                    "ok"
                ],
                "properties": {
                    "pre_checkout_query_id": {
                        "description": "Unique identifier for the query to be answered",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "ok": {
                        "description": "Specify *True* if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use *False* if there are any problems.",
                        "type": "boolean"
                    },
                    "error_message": {
                        "description": "Required if *ok* is *False*. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. \"Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!\"). Telegram will display this message to the user.",
                        "type": "string"
                    }
                }
            },
            "SendStickerParams": {
                "type": "object",
                "description": "The parameters of sendSticker.",
                "required": [
                    "sticker",
                    "chat_id"
                ],
                "properties": {
                    "sticker": {
                        "description": "Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Video and animated stickers can't be sent via an HTTP URL.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "emoji": {
                        "description": "Emoji associated with the sticker; only for just uploaded stickers",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread (topic) of a forum; for forum supergroups and private chats of bots with forum topic mode enabled only",
                        "type": "integer"
                    },
                    "direct_messages_topic_id": {
                        "description": "Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat",
                        "type": "integer"
                    },
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be sent",
                        "type": "string"
                    },
                    "ephemeral_message_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the ephemeral message to send",
                        "$ref": "#/components/schemas/EphemeralMessageParameters"
                    },
                    "reply_parameters": {
                        "description": "Description of the message to reply to",
                        "$ref": "#/components/schemas/ReplyParameters"
                    },
                    "suggested_post_parameters": {
                        "description": "A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.",
                        "$ref": "#/components/schemas/SuggestedPostParameters"
                    },
                    "disable_notification": {
                        "description": "Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.",
                        "type": "boolean"
                    },
                    "protect_content": {
                        "description": "Protects the contents of the sent message from forwarding and saving",
                        "type": "boolean"
                    },
                    "allow_paid_broadcast": {
                        "description": "Pass *True* to allow up to 1000 messages per second, ignoring [broadcasting limits](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.",
                        "type": "boolean"
                    },
                    "message_effect_id": {
                        "description": "Unique identifier of the message effect to be added to the message; for private chats only",
                        "type": "string"
                    },
                    "reply_markup": {
                        "description": "Additional interface options. A JSON-serialized object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards), [custom reply keyboard](https://core.telegram.org/bots/features#keyboards), instructions to remove a reply keyboard or to force a reply from the user.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InlineKeyboardMarkupInput"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardMarkup"
                            },
                            {
                                "$ref": "#/components/schemas/ReplyKeyboardRemove"
                            },
                            {
                                "$ref": "#/components/schemas/ForceReply"
                            }
                        ]
                    }
                }
            },
            "GetStickerSetParams": {
                "type": "object",
                "description": "The parameters of getStickerSet.",
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "description": "Name of the sticker set",
                        "type": "string"
                    }
                }
            },
            "GetCustomEmojiStickersParams": {
                "type": "object",
                "description": "The parameters of getCustomEmojiStickers.",
                "required": [
                    "custom_emoji_ids"
                ],
                "properties": {
                    "custom_emoji_ids": {
                        "description": "A JSON-serialized list of custom emoji identifiers. Must have at most 200 elements.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 200
                    }
                }
            },
            "UploadStickerFileParams": {
                "type": "object",
                "description": "The parameters of uploadStickerFile.",
                "required": [
                    "user_id",
                    "sticker_format",
                    "sticker"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of sticker file owner",
                        "type": "integer"
                    },
                    "sticker_format": {
                        "description": "Format of the sticker, must be one of \"static\", \"animated\", or \"video\"",
                        "type": "string",
                        "enum": [
                            "static",
                            "animated",
                            "video"
                        ]
                    },
                    "sticker": {
                        "description": "A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See [https://core.telegram.org/stickers](https://core.telegram.org/stickers) for technical requirements. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files)",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "CreateNewStickerSetParams": {
                "type": "object",
                "description": "The parameters of createNewStickerSet.",
                "required": [
                    "user_id",
                    "name",
                    "title",
                    "stickers"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of created sticker set owner",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Short name of sticker set, to be used in `t.me/addstickers/` URLs (e.g., *animals*). Can contain only English letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and must end in `\"_by_<bot_username>\"`. `<bot_username>` is case insensitive. 1-64 characters.",
                        "type": "string"
                    },
                    "title": {
                        "description": "Sticker set title, 1-64 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                    },
                    "needs_repainting": {
                        "description": "Pass *True* if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only",
                        "type": "boolean"
                    },
                    "stickers": {
                        "description": "A JSON-serialized list of initial stickers to be added to the sticker set, 1-50 elements",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InputSticker"
                        },
                        "minItems": 1,
                        "maxItems": 50
                    },
                    "sticker_type": {
                        "description": "Type of stickers in the set, must be one of \"regular\", \"mask\", or \"custom_emoji\", defaults to \"regular\"",
                        "type": "string",
                        "enum": [
                            "regular",
                            "mask",
                            "custom_emoji"
                        ],
                        "default": "regular"
                    }
                }
            },
            "AddStickerToSetParams": {
                "type": "object",
                "description": "The parameters of addStickerToSet.",
                "required": [
                    "user_id",
                    "name",
                    "sticker"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of sticker set owner",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.",
                        "$ref": "#/components/schemas/InputSticker"
                    }
                }
            },
            "ReplaceStickerInSetParams": {
                "type": "object",
                "description": "The parameters of replaceStickerInSet.",
                "required": [
                    "user_id",
                    "name",
                    "old_sticker",
                    "sticker"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the sticker set owner",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "old_sticker": {
                        "description": "File identifier of the replaced sticker",
                        "type": "string"
                    },
                    "sticker": {
                        "description": "A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set remains unchanged.",
                        "$ref": "#/components/schemas/InputSticker"
                    }
                }
            },
            "SetStickerSetTitleParams": {
                "type": "object",
                "description": "The parameters of setStickerSetTitle.",
                "required": [
                    "name",
                    "title"
                ],
                "properties": {
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "title": {
                        "description": "Sticker set title, 1-64 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                    }
                }
            },
            "SetStickerSetThumbnailParams": {
                "type": "object",
                "description": "The parameters of setStickerSetThumbnail.",
                "required": [
                    "user_id",
                    "name"
                ],
                "properties": {
                    "user_id": {
                        "description": "User identifier of the sticker set owner",
                        "type": "integer"
                    },
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "thumbnail": {
                        "description": "A **.WEBP** or **.PNG** image with the thumbnail, must be up to 128 kilobytes in size and have a width and height of exactly 100px, or a **.TGS** animation with a thumbnail up to 32 kilobytes in size (see [https://core.telegram.org/stickers#animation-requirements](https://core.telegram.org/stickers#animation-requirements) for animated sticker technical requirements), or a **.WEBM** video with the thumbnail up to 32 kilobytes in size; see [https://core.telegram.org/stickers#video-requirements](https://core.telegram.org/stickers#video-requirements) for video sticker technical requirements. Pass a *file_id* as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. [More information on Sending Files »](https://core.telegram.org/bots/api#sending-files). Animated and video sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "format": {
                        "description": "Format of the thumbnail, must be one of \"static\" for a **.WEBP** or **.PNG** image, \"animated\" for a **.TGS** animation, or \"video\" for a **.WEBM** video. If omitted, the format is detected automatically.",
                        "type": "string",
                        "enum": [
                            "static",
                            "animated",
                            "video"
                        ]
                    }
                }
            },
            "SetCustomEmojiStickerSetThumbnailParams": {
                "type": "object",
                "description": "The parameters of setCustomEmojiStickerSetThumbnail.",
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    },
                    "custom_emoji_id": {
                        "description": "Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "DeleteStickerSetParams": {
                "type": "object",
                "description": "The parameters of deleteStickerSet.",
                "required": [
                    "name"
                ],
                "properties": {
                    "name": {
                        "description": "Sticker set name",
                        "type": "string"
                    }
                }
            },
            "SetStickerPositionInSetParams": {
                "type": "object",
                "description": "The parameters of setStickerPositionInSet.",
                "required": [
                    "sticker",
                    "position"
                ],
                "properties": {
                    "sticker": {
                        "description": "File identifier of the sticker",
                        "type": "string"
                    },
                    "position": {
                        "description": "New sticker position in the set, zero-based",
                        "type": "integer"
                    }
                }
            },
            "DeleteStickerFromSetParams": {
                "type": "object",
                "description": "The parameters of deleteStickerFromSet.",
                "required": [
                    "sticker"
                ],
                "properties": {
                    "sticker": {
                        "description": "File identifier of the sticker",
                        "type": "string"
                    }
                }
            },
            "SetStickerEmojiListParams": {
                "type": "object",
                "description": "The parameters of setStickerEmojiList.",
                "required": [
                    "sticker",
                    "emoji_list"
                ],
                "properties": {
                    "sticker": {
                        "description": "File identifier of the sticker",
                        "type": "string"
                    },
                    "emoji_list": {
                        "description": "A JSON-serialized list of emoji associated with the sticker, 1-20 elements",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "minItems": 1,
                        "maxItems": 20
                    }
                }
            },
            "SetStickerKeywordsParams": {
                "type": "object",
                "description": "The parameters of setStickerKeywords.",
                "required": [
                    "sticker"
                ],
                "properties": {
                    "sticker": {
                        "description": "File identifier of the sticker",
                        "type": "string"
                    },
                    "keywords": {
                        "description": "A JSON-serialized list of search keywords for the sticker with total length of up to 64 characters, at most 20 elements",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 20
                    }
                }
            },
            "SetStickerMaskPositionParams": {
                "type": "object",
                "description": "The parameters of setStickerMaskPosition.",
                "required": [
                    "sticker"
                ],
                "properties": {
                    "sticker": {
                        "description": "File identifier of the sticker",
                        "type": "string"
                    },
                    "mask_position": {
                        "description": "A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position.",
                        "$ref": "#/components/schemas/MaskPosition"
                    }
                }
            },
            "GetUpdatesParams": {
                "type": "object",
                "description": "The parameters of getUpdates.",
                "properties": {
                    "offset": {
                        "description": "Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates. By default, updates starting with the earliest unconfirmed update are returned. An update is considered confirmed as soon as [getUpdates](https://core.telegram.org/bots/api#getupdates) is called with an *offset* higher than its *update_id*. The negative offset can be specified to retrieve updates starting from *-offset* update from the end of the updates queue. All previous updates will be forgotten.",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    },
                    "timeout": {
                        "description": "Timeout in seconds for long polling, 0 for usual short polling. Should be positive, short polling should be used for testing purposes only. Defaults to 0.",
                        "type": "integer",
                        "default": 0
                    },
                    "allowed_updates": {
                        "description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify `[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See [Update](https://core.telegram.org/bots/api#update) for a complete list of available update types. Specify an empty list to receive all update types except *chat_member*, *message_reaction*, and *message_reaction_count* (default). If not specified, the previous setting will be used. \n\nPlease note that this parameter doesn't affect updates created before the call to getUpdates, so unwanted updates may be received for a short period of time.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "SetWebhookParams": {
                "type": "object",
                "description": "The parameters of setWebhook.",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "description": "HTTPS URL to send updates to. Use an empty string to remove webhook integration.",
                        "type": "string"
                    },
                    "max_connections": {
                        "description": "The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100, defaults to 40. Use lower values to limit the load on your bot's server, and higher values to increase your bot's throughput.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 40
                    },
                    "ip_address": {
                        "description": "The fixed IP address which will be used to send webhook requests instead of the IP address resolved through DNS",
                        "type": "string"
                    },
                    "secret_token": {
                        "description": "A secret token to be sent in a header \"X-Telegram-Bot-Api-Secret-Token\" in every webhook request, 1-256 characters. Only characters `A-Z`, `a-z`, `0-9`, `_` and `-` are allowed. The header is useful to ensure that the request comes from a webhook set by you.",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                    },
                    "drop_pending_updates": {
                        "description": "Pass *True* to drop all pending updates",
                        "type": "boolean"
                    },
                    "certificate": {
                        "description": "Upload your public key certificate so that the root certificate in use can be checked. See our [self-signed guide](https://core.telegram.org/bots/self-signed) for details.",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "allowed_updates": {
                        "description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify `[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See [Update](https://core.telegram.org/bots/api#update) for a complete list of available update types. Specify an empty list to receive all update types except *chat_member*, *message_reaction*, and *message_reaction_count* (default). If not specified, the previous setting will be used. \nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "DeleteWebhookParams": {
                "type": "object",
                "description": "The parameters of deleteWebhook.",
                "properties": {
                    "drop_pending_updates": {
                        "description": "Pass *True* to drop all pending updates",
                        "type": "boolean"
                    }
                }
            },
            "GetUserProfilePhotosParams": {
                "type": "object",
                "description": "The parameters of getUserProfilePhotos.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "offset": {
                        "description": "Sequential number of the first photo to be returned. By default, all photos are returned.",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "GetUserProfileAudiosParams": {
                "type": "object",
                "description": "The parameters of getUserProfileAudios.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "offset": {
                        "description": "Sequential number of the first audio to be returned. By default, all audios are returned.",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "Limits the number of audios to be retrieved. Values between 1-100 are accepted. Defaults to 100.",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100,
                        "default": 100
                    }
                }
            },
            "VerifyUserParams": {
                "type": "object",
                "description": "The parameters of verifyUser.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "custom_description": {
                        "description": "Custom description for the verification, 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.",
                        "type": "string",
                        "maxLength": 70
                    }
                }
            },
            "VerifyChatParams": {
                "type": "object",
                "description": "The parameters of verifyChat.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot, supergroup or channel in the format `@username`. Channel direct messages chats can't be verified.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "custom_description": {
                        "description": "Custom description for the verification, 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.",
                        "type": "string",
                        "maxLength": 70
                    }
                }
            },
            "RemoveUserVerificationParams": {
                "type": "object",
                "description": "The parameters of removeUserVerification.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            },
            "RemoveChatVerificationParams": {
                "type": "object",
                "description": "The parameters of removeChatVerification.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target bot or channel in the format `@username`",
                        "type": "integer"
                    }
                }
            },
            "ExportChatInviteLinkParams": {
                "type": "object",
                "description": "The parameters of exportChatInviteLink.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "CreateChatInviteLinkParams": {
                "type": "object",
                "description": "The parameters of createChatInviteLink.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "name": {
                        "description": "Invite link name, 0-32 characters",
                        "type": "string",
                        "maxLength": 32
                    },
                    "expire_date": {
                        "description": "Point in time (Unix timestamp) when the link will expire",
                        "type": "integer"
                    },
                    "member_limit": {
                        "description": "The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link, 1-99999",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 99999
                    },
                    "creates_join_request": {
                        "description": "*True*, if users joining the chat via the link need to be approved by chat administrators. If *True*, *member_limit* can't be specified.",
                        "type": "boolean"
                    }
                }
            },
            "CreateChatSubscriptionInviteLinkParams": {
                "type": "object",
                "description": "The parameters of createChatSubscriptionInviteLink.",
                "required": [
                    "chat_id",
                    "subscription_period",
                    "subscription_price"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target channel chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "name": {
                        "description": "Invite link name, 0-32 characters",
                        "type": "string",
                        "maxLength": 32
                    },
                    "subscription_period": {
                        "description": "The number of seconds the subscription will be active for before the next payment. Must be 2592000. That is 30 days, the only period currently allowed.",
                        "type": "integer",
                        "const": 2592000
                    },
                    "subscription_price": {
                        "description": "The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat, 1-10000",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10000
                    }
                }
            },
            "EditChatInviteLinkParams": {
                "type": "object",
                "description": "The parameters of editChatInviteLink.",
                "required": [
                    "chat_id",
                    "invite_link"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "invite_link": {
                        "description": "The invite link to edit",
                        "type": "string"
                    },
                    "name": {
                        "description": "Invite link name, 0-32 characters",
                        "type": "string",
                        "maxLength": 32
                    },
                    "expire_date": {
                        "description": "Point in time (Unix timestamp) when the link will expire",
                        "type": "integer"
                    },
                    "member_limit": {
                        "description": "The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link, 1-99999",
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 99999
                    },
                    "creates_join_request": {
                        "description": "*True*, if users joining the chat via the link need to be approved by chat administrators. If *True*, *member_limit* can't be specified.",
                        "type": "boolean"
                    }
                }
            },
            "EditChatSubscriptionInviteLinkParams": {
                "type": "object",
                "description": "The parameters of editChatSubscriptionInviteLink.",
                "required": [
                    "chat_id",
                    "invite_link"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "invite_link": {
                        "description": "The invite link to edit",
                        "type": "string"
                    },
                    "name": {
                        "description": "Invite link name, 0-32 characters",
                        "type": "string",
                        "maxLength": 32
                    }
                }
            },
            "RevokeChatInviteLinkParams": {
                "type": "object",
                "description": "The parameters of revokeChatInviteLink.",
                "required": [
                    "chat_id",
                    "invite_link"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier of the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "invite_link": {
                        "description": "The invite link to revoke",
                        "type": "string"
                    }
                }
            },
            "SetUserEmojiStatusParams": {
                "type": "object",
                "description": "The parameters of setUserEmojiStatus.",
                "required": [
                    "user_id"
                ],
                "properties": {
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    },
                    "emoji_status_custom_emoji_id": {
                        "description": "Custom emoji identifier of the emoji status to set. Pass an empty string to remove the status.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "emoji_status_expiration_date": {
                        "description": "Expiration date of the emoji status, if any",
                        "type": "integer"
                    }
                }
            },
            "GetChatParams": {
                "type": "object",
                "description": "The parameters of getChat.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup or channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "SetChatPhotoParams": {
                "type": "object",
                "description": "The parameters of setChatPhoto.",
                "required": [
                    "chat_id",
                    "photo"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "photo": {
                        "description": "New chat photo, uploaded using multipart/form-data",
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/InputFile"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "DeleteChatPhotoParams": {
                "type": "object",
                "description": "The parameters of deleteChatPhoto.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "SetChatTitleParams": {
                "type": "object",
                "description": "The parameters of setChatTitle.",
                "required": [
                    "chat_id",
                    "title"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "title": {
                        "description": "New chat title, 1-128 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                    }
                }
            },
            "SetChatPermissionsParams": {
                "type": "object",
                "description": "The parameters of setChatPermissions.",
                "required": [
                    "chat_id",
                    "permissions"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "use_independent_chat_permissions": {
                        "description": "Pass *True* if chat permissions are set independently. Otherwise, the *can_send_other_messages* and *can_add_web_page_previews* permissions will imply the *can_send_messages*, *can_send_audios*, *can_send_documents*, *can_send_photos*, *can_send_videos*, *can_send_video_notes*, and *can_send_voice_notes* permissions; the *can_send_polls* permission will imply the *can_send_messages* permission.",
                        "type": "boolean"
                    },
                    "permissions": {
                        "description": "A JSON-serialized object for new default chat permissions",
                        "$ref": "#/components/schemas/ChatPermissionsInput"
                    }
                }
            },
            "SetChatDescriptionParams": {
                "type": "object",
                "description": "The parameters of setChatDescription.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "description": {
                        "description": "New chat description, 0-255 characters",
                        "type": "string",
                        "maxLength": 255
                    }
                }
            },
            "PinChatMessageParams": {
                "type": "object",
                "description": "The parameters of pinChatMessage.",
                "required": [
                    "chat_id",
                    "message_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be pinned",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of a message to pin",
                        "type": "integer"
                    },
                    "disable_notification": {
                        "description": "Pass *True* if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats.",
                        "type": "boolean"
                    }
                }
            },
            "UnpinChatMessageParams": {
                "type": "object",
                "description": "The parameters of unpinChatMessage.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "business_connection_id": {
                        "description": "Unique identifier of the business connection on behalf of which the message will be unpinned",
                        "type": "string"
                    },
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_id": {
                        "description": "Identifier of the message to unpin. Required if *business_connection_id* is specified. If not specified, the most recent pinned message (by sending date) will be unpinned.",
                        "type": "integer"
                    }
                }
            },
            "UnpinAllChatMessagesParams": {
                "type": "object",
                "description": "The parameters of unpinAllChatMessages.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "SetChatStickerSetParams": {
                "type": "object",
                "description": "The parameters of setChatStickerSet.",
                "required": [
                    "chat_id",
                    "sticker_set_name"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "sticker_set_name": {
                        "description": "Name of the sticker set to be set as the group sticker set",
                        "type": "string"
                    }
                }
            },
            "DeleteChatStickerSetParams": {
                "type": "object",
                "description": "The parameters of deleteChatStickerSet.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "CreateForumTopicParams": {
                "type": "object",
                "description": "The parameters of createForumTopic.",
                "required": [
                    "chat_id",
                    "name"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "name": {
                        "description": "Topic name, 1-128 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                    },
                    "icon_color": {
                        "description": "Color of the topic icon in RGB format. Must be one of 7322096, 16766590, 13338331, 9367192, 16749490, or 16478047. In hexadecimal, they are 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, and 0xFB6F5F.",
                        "type": "integer",
                        "enum": [
                            7322096,
                            16766590,
                            13338331,
                            9367192,
                            16749490,
                            16478047
                        ]
                    },
                    "icon_custom_emoji_id": {
                        "description": "Unique identifier of the custom emoji shown as the topic icon. Use [getForumTopicIconStickers](https://core.telegram.org/bots/api#getforumtopiciconstickers) to get all allowed custom emoji identifiers.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "EditForumTopicParams": {
                "type": "object",
                "description": "The parameters of editForumTopic.",
                "required": [
                    "chat_id",
                    "message_thread_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread of the forum topic",
                        "type": "integer"
                    },
                    "name": {
                        "description": "New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept.",
                        "type": "string",
                        "maxLength": 128
                    },
                    "icon_custom_emoji_id": {
                        "description": "New unique identifier of the custom emoji shown as the topic icon. Use [getForumTopicIconStickers](https://core.telegram.org/bots/api#getforumtopiciconstickers) to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept.",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "CloseForumTopicParams": {
                "type": "object",
                "description": "The parameters of closeForumTopic.",
                "required": [
                    "chat_id",
                    "message_thread_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread of the forum topic",
                        "type": "integer"
                    }
                }
            },
            "ReopenForumTopicParams": {
                "type": "object",
                "description": "The parameters of reopenForumTopic.",
                "required": [
                    "chat_id",
                    "message_thread_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread of the forum topic",
                        "type": "integer"
                    }
                }
            },
            "DeleteForumTopicParams": {
                "type": "object",
                "description": "The parameters of deleteForumTopic.",
                "required": [
                    "chat_id",
                    "message_thread_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread of the forum topic",
                        "type": "integer"
                    }
                }
            },
            "UnpinAllForumTopicMessagesParams": {
                "type": "object",
                "description": "The parameters of unpinAllForumTopicMessages.",
                "required": [
                    "chat_id",
                    "message_thread_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "message_thread_id": {
                        "description": "Unique identifier for the target message thread of the forum topic",
                        "type": "integer"
                    }
                }
            },
            "EditGeneralForumTopicParams": {
                "type": "object",
                "description": "The parameters of editGeneralForumTopic.",
                "required": [
                    "chat_id",
                    "name"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "name": {
                        "description": "New topic name, 1-128 characters",
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                    }
                }
            },
            "CloseGeneralForumTopicParams": {
                "type": "object",
                "description": "The parameters of closeGeneralForumTopic.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "ReopenGeneralForumTopicParams": {
                "type": "object",
                "description": "The parameters of reopenGeneralForumTopic.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "HideGeneralForumTopicParams": {
                "type": "object",
                "description": "The parameters of hideGeneralForumTopic.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "UnhideGeneralForumTopicParams": {
                "type": "object",
                "description": "The parameters of unhideGeneralForumTopic.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "UnpinAllGeneralForumTopicMessagesParams": {
                "type": "object",
                "description": "The parameters of unpinAllGeneralForumTopicMessages.",
                "required": [
                    "chat_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the target chat or username of the target supergroup in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    }
                }
            },
            "GetUserChatBoostsParams": {
                "type": "object",
                "description": "The parameters of getUserChatBoosts.",
                "required": [
                    "chat_id",
                    "user_id"
                ],
                "properties": {
                    "chat_id": {
                        "description": "Unique identifier for the chat or username of the channel in the format `@username`",
                        "oneOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "string"
                            }
                        ]
                    },
                    "user_id": {
                        "description": "Unique identifier of the target user",
                        "type": "integer"
                    }
                }
            }
        },
        "securitySchemes": {
            "secretToken": {
                "type": "apiKey",
                "in": "header",
                "name": "X-Telegram-Bot-Api-Secret-Token",
                "description": "The *secret_token* given to [setWebhook](https://core.telegram.org/bots/api#setwebhook), sent in webhook requests if given"
            },
            "basicAuth": {
                "type": "http",
                "scheme": "basic",
                "description": "The username and password in the URL given to [setWebhook](https://core.telegram.org/bots/api#setwebhook), sent in webhook requests if the URL contains them"
            }
        },
        "responses": {
            "Error": {
                "description": "The request was unsuccessful",
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "required": [
                                "ok",
                                "error_code",
                                "description"
                            ],
                            "properties": {
                                "ok": {
                                    "type": "boolean",
                                    "const": false
                                },
                                "error_code": {
                                    "type": "integer"
                                },
                                "description": {
                                    "type": "string"
                                },
                                "parameters": {
                                    "$ref": "#/components/schemas/ResponseParameters"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
